IdentityUserRole<TKey> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |