Op Englesch liesen

Deelen iwwer


IdentityUserRole<TKey> Class

Definition

Represents the link between a user and a role.

C#
public class IdentityUserRole<TKey> where TKey : IEquatable<TKey>

Type Parameters

TKey

The type of the primary key used for users and roles.

Inheritance
IdentityUserRole<TKey>

Constructors

Properties

RoleId

Gets or sets the primary key of the role that is linked to the user.

UserId

Gets or sets the primary key of the user that is linked to a role.

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1