Share via


IdentityUserRole<TKey> Class

Definition

Represents the link between a user and a role.

generic <typename TKey>
 where TKey : IEquatable<TKey>public ref class IdentityUserRole
public class IdentityUserRole<TKey> where TKey : IEquatable<TKey>
type IdentityUserRole<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUserRole(Of TKey)

Type Parameters

TKey

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

Inheritance
IdentityUserRole<TKey>

Constructors

IdentityUserRole<TKey>()

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