ISecurityDescriptorCmdletProvider.GetSecurityDescriptor(String, AccessControlSections) Method

Definition

Gets the security descriptor for the item at the specified path.

public:
 void GetSecurityDescriptor(System::String ^ path, System::Security::AccessControl::AccessControlSections includeSections);
public void GetSecurityDescriptor (string path, System.Security.AccessControl.AccessControlSections includeSections);
abstract member GetSecurityDescriptor : string * System.Security.AccessControl.AccessControlSections -> unit
Public Sub GetSecurityDescriptor (path As String, includeSections As AccessControlSections)

Parameters

path
String

The path of the item to from which to retrieve the security descriptor.

includeSections
AccessControlSections

The sections of the security descriptor to retrieve, if your provider supports them.

Applies to