Freigeben über


ClaimsIdentity.IsAuthenticated Property

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

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ClaimsIdentity
Dim value As Boolean

value = instance.IsAuthenticated

Syntax

'Declaration
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

Eigenschaftenwert

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

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ClaimsIdentity Class
ClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace