ObjectSecurity.GetSecurityDescriptorSddlForm Method (AccessControlSections)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public string GetSecurityDescriptorSddlForm(
	AccessControlSections includeSections
)

Parameters

includeSections
Type: System.Security.AccessControl.AccessControlSections

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

Return Value

Type: System.String

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

.NET Framework
Available since 2.0
Return to top
Show: