Freigeben über


IClaimsIdentity.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 IClaimsIdentity
Dim value As String

value = instance.Label

instance.Label = value

Syntax

'Declaration
Property Label As String
string Label { get; set; }
property String^ Label {
    String^ get ();
    void set (String^ value);
}
/** @property */
String get_Label ()

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

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

IClaimsIdentity Interface
IClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace