Delen via


IdentityRole<TKey> Class

Definition

Represents a role in the identity system

generic <typename TKey>
 where TKey : IEquatable<TKey>public ref class IdentityRole
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>
Derived

Constructors

IdentityRole<TKey>()

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey>(String)

Initializes a new instance of IdentityRole<TKey>.

Properties

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.

Methods

ToString()

Returns the name of the role.

Applies to