Share via


CmdletProvider.WriteSecurityDescriptorObject(ObjectSecurity, String) Method

Definition

Writes a Security Descriptor object to the output as a PSObject with extra data attached as notes.

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

Parameters

securityDescriptor
ObjectSecurity

The Security Descriptor to be written.

path
String

The path of the item from which the Security Descriptor was retrieved.

Applies to