Partilhar via


PSPrincipal.Identity Property

Definition

Gets the identity of the current user principal.

public:
 property System::Management::Automation::Remoting::PSIdentity ^ Identity { System::Management::Automation::Remoting::PSIdentity ^ get(); };
public System.Management.Automation.Remoting.PSIdentity Identity { get; }
member this.Identity : System.Management.Automation.Remoting.PSIdentity
Public ReadOnly Property Identity As PSIdentity

Property Value

Applies to