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 string GetSecurityDescriptorSddlForm (System.Security.AccessControl.AccessControlSections includeSections);
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