GenericSecurityDescriptor.GetSddlForm(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 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.