IdentityRole<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 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. |