다음을 통해 공유


SecurityDescriptorCommandsBase.GetOwner(PSObject) Method

Definition

Gets the Owner of the provided PSObject.

public:
 static System::String ^ GetOwner(System::Management::Automation::PSObject ^ instance);
public static string GetOwner (System.Management.Automation.PSObject instance);
static member GetOwner : System.Management.Automation.PSObject -> string
Public Shared Function GetOwner (instance As PSObject) As String

Parameters

instance
PSObject

The PSObject for which to obtain the Owner.

Returns

The Owner of the provided PSObject.

Applies to