Gets the claim type that will be interpreted as a .NET Framework role among the claims in this claims identity.
Assembly: mscorlib (in mscorlib.dll)
The role claim type is the claim type (Claim.Type) that is used when evaluating this identity for the ClaimsPrincipal.IsInRole(String) method. The ClaimsPrincipal.IsInRole(String) method is called to determine whether the current principal is in a specified role. The claims-based model extends this check to use claims presented by the principal. A ClaimsPrincipal object can contain one or more ClaimsIdentity objects and each identity object can contain multiple Claim objects. The property specifies the claim type of the claim that should be used to provide the value for the role when evaluating this ClaimsIdentity object. The property is set by the constructor. A common value is ClaimTypes.Role.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.