SecurityDescriptorCommandsBase.GetSddl(PSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the security descriptor (in SDDL form) of the provided PSObject. SDDL form is the Security Descriptor Definition Language.
public:
static System::String ^ GetSddl(System::Management::Automation::PSObject ^ instance);
public static string GetSddl (System.Management.Automation.PSObject instance);
static member GetSddl : System.Management.Automation.PSObject -> string
Public Shared Function GetSddl (instance As PSObject) As String
Parameters
- instance
- PSObject
The PSObject for which to obtain the security descriptor.
Returns
The security descriptor of the provided PSObject, in SDDL form.