Bewerken

Share via


ObjectSecurity.GetSecurityDescriptorSddlForm(AccessControlSections) Method

Definition

Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.

public:
 System::String ^ GetSecurityDescriptorSddlForm(System::Security::AccessControl::AccessControlSections includeSections);
public string GetSecurityDescriptorSddlForm (System.Security.AccessControl.AccessControlSections includeSections);
member this.GetSecurityDescriptorSddlForm : System.Security.AccessControl.AccessControlSections -> string
Public Function GetSecurityDescriptorSddlForm (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 ObjectSecurity object.

Applies to