Freigeben über


ClaimsIdentity.RoleClaimType Property

Claim type used for IPrincipal.IsInRole.

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

Verwendung

    Dim instance As ClaimsIdentity
Dim value As String

value = instance.RoleClaimType

instance.RoleClaimType = value

Syntax

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

/** @property */
public final void set_RoleClaimType (String value)
public final function get RoleClaimType () : String

public final function set RoleClaimType (value : String)

Ausnahmen

Ausnahmetyp Bedingung

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