SecurityDescriptorCommandsBase.GetOwner(PSObject) 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 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.