Class IdentityUserRole<TKey>
Represents the link between a user and a role.
public class IdentityUserRole<TKey> : IIdentityUserRole<TKey> where TKey : IEquatable<TKey>
Type Parameters
TKey
The type of the primary key used for users and roles.
- Inheritance
-
IdentityUserRole<TKey>
- Implements
-
IIdentityUserRole<TKey>
Properties
RoleId
Gets or sets the primary key of the role that is linked to the user.
public virtual TKey RoleId { get; set; }
Property Value
- TKey
UserId
Gets or sets the primary key of the user that is linked to a role.
public virtual TKey UserId { get; set; }
Property Value
- TKey