Partager via


SecurityDescriptorCommandsBase.GetSddl(PSObject) Method

Definition

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.

Applies to