Rediger

Del via


GenericSecurityDescriptor.GetSddlForm(AccessControlSections) Method

Definition

Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor that this GenericSecurityDescriptor object represents.

public:
 System::String ^ GetSddlForm(System::Security::AccessControl::AccessControlSections includeSections);
public string GetSddlForm (System.Security.AccessControl.AccessControlSections includeSections);
member this.GetSddlForm : System.Security.AccessControl.AccessControlSections -> string
Public Function GetSddlForm (includeSections As AccessControlSections) As String

Parameters

includeSections
AccessControlSections

Specifies which sections (access rules, audit rules, primary group, owner) of the security descriptor to get.

Returns

The SDDL representation of the specified sections of the security descriptor associated with this GenericSecurityDescriptor object.

Applies to