Claim type used for IPrincipal.IsInRole.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsIdentity
Dim value As String

value = instance.RoleClaimType

instance.RoleClaimType = value

Syntax

Visual Basic
Public Property RoleClaimType As String
C#
public string RoleClaimType { get; set; }
C++
public:
virtual property String^ RoleClaimType {
		String^ get () sealed;
		void set (String^ value) sealed;
}
J#
/** @property */
public final String get_RoleClaimType ()

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

public final function set RoleClaimType (value : String)

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also