ObjectSecurity.GetSecurityDescriptorSddlForm(AccessControlSections) 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.
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.