IdentityRole<TKey,TUserRole,TRoleClaim> Class

Definition

Represents a role in the identity system

generic <typename TKey, typename TUserRole, typename TRoleClaim>
 where TKey : IEquatable<TKey> where TUserRole : IdentityUserRole<TKey> where TRoleClaim : IdentityRoleClaim<TKey>public ref class IdentityRole
public class IdentityRole<TKey,TUserRole,TRoleClaim> where TKey : IEquatable<TKey> where TUserRole : IdentityUserRole<TKey> where TRoleClaim : IdentityRoleClaim<TKey>
type IdentityRole<'Key, 'UserRole, 'RoleClaim (requires 'Key :> IEquatable<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'RoleClaim :> IdentityRoleClaim<'Key>)> = class
Public Class IdentityRole(Of TKey, TUserRole, TRoleClaim)

Type Parameters

TKey

The type used for the primary key for the role.

TUserRole

The type used for user roles.

TRoleClaim

The type used for role claims.

Inheritance
IdentityRole<TKey,TUserRole,TRoleClaim>
Derived

Constructors

IdentityRole<TKey,TUserRole,TRoleClaim>()

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Initializes a new instance of IdentityRole<TKey>.

Properties

Claims

Navigation property for claims in this role.

ConcurrencyStamp

A random value that should change whenever a role is persisted to the store

Id

Gets or sets the primary key for this role.

Name

Gets or sets the name for this role.

NormalizedName

Gets or sets the normalized name for this role.

Users

Navigation property for the users in this role.

Methods

ToString()

Returns the name of the role.

Applies to