IdentityRole<TKey> IdentityRole<TKey> IdentityRole<TKey> Class

Definition

Represents a role in the identity system

public class IdentityRole<TKey> where TKey : IEquatable<TKey>
type IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityRole(Of TKey)

Type Parameters

TKey

The type used for the primary key for the role.

Inheritance
IdentityRole<TKey>IdentityRole<TKey>IdentityRole<TKey>
Derived

Constructors

IdentityRole<TKey>() IdentityRole<TKey>() IdentityRole<TKey>()

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey>(String) IdentityRole<TKey>(String) IdentityRole<TKey>(String)

Initializes a new instance of IdentityRole<TKey>.

Properties

ConcurrencyStamp ConcurrencyStamp ConcurrencyStamp

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

Id Id Id

Gets or sets the primary key for this role.

Name Name Name

Gets or sets the name for this role.

NormalizedName NormalizedName NormalizedName

Gets or sets the normalized name for this role.

Methods

ToString() ToString() ToString()

Returns the name of the role.

Applies to