Freigeben über


ClaimsIdentity.NameClaimType Property

Provides access to the name of the claim type used to determine IIdentity.Name.

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

Verwendung

    Dim instance As ClaimsIdentity
Dim value As String

value = instance.NameClaimType

instance.NameClaimType = value

Syntax

'Declaration
Public Property NameClaimType As String
public string NameClaimType { get; set; }
public:
virtual property String^ NameClaimType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_NameClaimType ()

/** @property */
public final void set_NameClaimType (String value)
public final function get NameClaimType () : String

public final function set NameClaimType (value : String)

Eigenschaftenwert

Returns String.

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