Compartir a través de


WindowsClaimsIdentity.Label (Propiedad)

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

Espacio de nombres: Microsoft.IdentityModel.Claims
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim instance As WindowsClaimsIdentity
Dim value As String

value = instance.Label

instance.Label = value

Sintaxis

'Declaración
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)

Valor de propiedad

Returns String.

Notas

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

Seguridad para subprocesos

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

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

Vea también

Referencia

WindowsClaimsIdentity (Clase)
WindowsClaimsIdentity (Miembros)
Microsoft.IdentityModel.Claims (Espacio de nombres)