ISecurityDescriptorCmdletProvider.GetSecurityDescriptor 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.
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.