IdentityRoleClaim<TKey> Class¶
Represents a claim that is granted to all users within a role.
- Namespace
Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Assemblies
- Microsoft.AspNetCore.Identity.EntityFrameworkCore
Syntax¶
public class IdentityRoleClaim<TKey>
where TKey : IEquatable<TKey>
-
class
Microsoft.AspNetCore.Identity.EntityFrameworkCore.
IdentityRoleClaim<TKey>
¶
Properties¶
-
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>.
ClaimType
¶ Gets or sets the claim type for this claim.
Return type: System.String public virtual string ClaimType { get; set; }
-
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>.
ClaimValue
¶ Gets or sets the claim value for this claim.
Return type: System.String public virtual string ClaimValue { get; set; }
-
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>.
Id
¶ Gets or sets the identifier for this role claim.
Return type: System.Int32 public virtual int Id { get; set; }
-
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>.
RoleId
¶ Gets or sets the of the primary key of the role associated with this claim.
Return type: TKey public virtual TKey RoleId { get; set; }
-