RegistryProvider.GetSecurityDescriptor(String, 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.
Gets the security descriptor for the item specified by path
.
public:
virtual void GetSecurityDescriptor(System::String ^ path, System::Security::AccessControl::AccessControlSections sections);
public void GetSecurityDescriptor (string path, System.Security.AccessControl.AccessControlSections sections);
override this.GetSecurityDescriptor : string * System.Security.AccessControl.AccessControlSections -> unit
Public Sub GetSecurityDescriptor (path As String, sections As AccessControlSections)
Parameters
- path
- String
The path to the item.
- sections
- AccessControlSections
Specifies the parts of a security descriptor to retrieve.