ClaimsPrincipal::IsInRole Method (String^)
Returns a value that indicates whether the entity (user) represented by this claims principal is in the specified role.
Assembly: mscorlib (in mscorlib.dll)
The ClaimsIdentity::RoleClaimType where the value of the claim is equal to the value specified by the role parameter.method checks whether an identity that this claims principal possesses contains a claim of type
Available since 10
Available since 4.5