Sdílet prostřednictvím


RegistryProvider.SetSecurityDescriptor(String, ObjectSecurity) Method

Definition

Sets the security descriptor for the item specified by path

public:
 virtual void SetSecurityDescriptor(System::String ^ path, System::Security::AccessControl::ObjectSecurity ^ securityDescriptor);
public void SetSecurityDescriptor (string path, System.Security.AccessControl.ObjectSecurity securityDescriptor);
override this.SetSecurityDescriptor : string * System.Security.AccessControl.ObjectSecurity -> unit
Public Sub SetSecurityDescriptor (path As String, securityDescriptor As ObjectSecurity)

Parameters

path
String

The path to the item to set the security descriptor on.

securityDescriptor
ObjectSecurity

The new security descriptor for the item.

Implements

Applies to