Condividi tramite


Proprietà ClaimsIdentity.IsAuthenticated

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

Spazio dei nomi: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Utilizzo

    Dim instance As ClaimsIdentity
Dim value As Boolean

value = instance.IsAuthenticated

Sintassi

'Dichiarazione
Public ReadOnly Property IsAuthenticated As Boolean
public bool IsAuthenticated { get; }
public:
virtual property bool IsAuthenticated {
    bool get () sealed;
}
/** @property */
public final boolean get_IsAuthenticated ()
public final function get IsAuthenticated () : boolean

Valore proprietà

Returns Boolean. true if the user has been authenticated; otherwise, false.

Thread safety

Alcuni membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non esiste garanzia che tutti i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Vedere anche

Riferimento

Classe ClaimsIdentity
Membri ClaimsIdentity
Spazio dei nomi Microsoft.IdentityModel.Claims