Freigeben über


ClaimsIdentity.Label Property

A string label for the user who is represented by this IClaimsIdentity.

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

Verwendung

    Dim instance As ClaimsIdentity
Dim value As String

value = instance.Label

instance.Label = value

Syntax

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

/** @property */
public final void set_Label (String value)
public final function get Label () : String

public final function set Label (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