IClaimsIdentity.RoleClaimType Property
Gets the claim type used for M:System.Security.Principal.IPrincipal.IsInRole(System.String).
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As IClaimsIdentity Dim value As String value = instance.RoleClaimType instance.RoleClaimType = value
Syntax
'Declaration
Property RoleClaimType As String
string RoleClaimType { get; set; }
property String^ RoleClaimType {
String^ get ();
void set (String^ value);
}
/** @property */
String get_RoleClaimType ()
/** @property */
void set_RoleClaimType (String value)
function get RoleClaimType () : String
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
IClaimsIdentity Interface
IClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace