Partager via


PSIdentity Class

Definition

Defines the basic functionality of a PSIdentity object.

public ref class PSIdentity sealed : System::Security::Principal::IIdentity
public sealed class PSIdentity : System.Security.Principal.IIdentity
type PSIdentity = class
    interface IIdentity
Public NotInheritable Class PSIdentity
Implements IIdentity
Inheritance
PSIdentity
Implements

Constructors

PSIdentity(String, Boolean, String, PSCertificateDetails)

Constructor used to construct a PSIdentity object.

Properties

AuthenticationType

Gets the type of authentication used. For a WSMan service authenticated user this will be one of the following: WSMAN_DEFAULT_AUTHENTICATION WSMAN_NO_AUTHENTICATION WSMAN_AUTH_DIGEST WSMAN_AUTH_NEGOTIATE WSMAN_AUTH_BASIC WSMAN_AUTH_KERBEROS WSMAN_AUTH_CLIENT_CERTIFICATE WSMAN_AUTH_LIVEID.

CertificateDetails

Gets the certificate details of the user if supported, null otherwise.

IsAuthenticated

Gets a value that indicates whether the user has been authenticated.

Name

Gets the name of the user.

Applies to