IdentityRoleClaim<TKey> Class

EntityType that represents one specific role claim
Namespace
Microsoft.AspNet.Identity.CoreCompat
Assemblies
  • Microsoft.AspNet.Identity.AspNetCoreCompat

Syntax

public class IdentityRoleClaim<TKey>
class Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<TKey>

Properties

Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<TKey>.ClaimType
Claim type
Return type:System.String
public virtual string ClaimType { get; set; }
Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<TKey>.ClaimValue
Claim value
Return type:System.String
public virtual string ClaimValue { get; set; }
Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<TKey>.Id
Primary key
Return type:System.Int32
public virtual int Id { get; set; }
Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<TKey>.RoleId
User Id for the role this claim belongs to
Return type:TKey
public virtual TKey RoleId { get; set; }