Freigeben über


WindowsClaimsIdentity.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 WindowsClaimsIdentity
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.

Hinweise

This property can be used to assign a personalized name for the subject that this IClaimsIdentity represents.

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

WindowsClaimsIdentity Class
WindowsClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace