IRoleStore<TRole> Interface
Interface that exposes basic role management
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Interface IRoleStore(Of TRole As IRole) _
Inherits IDisposable
'Usage
Dim instance As IRoleStore(Of TRole)
public interface IRoleStore<TRole> : IDisposable
where TRole : IRole
generic<typename TRole>
where TRole : IRole
public interface class IRoleStore : IDisposable
type IRoleStore<'TRole when 'TRole : IRole> =
interface
interface IDisposable
end
JScript does not support generic types and methods.
Type Parameters
- TRole
The IRoleStore<TRole> type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
CreateAsync | Insert a new role |
![]() |
DeleteAsync | Delete a role |
![]() |
Dispose | (Inherited from IDisposable.) |
![]() |
FindByIdAsync | Finds a role by id |
![]() |
FindByNameAsync | Find a role by name |
![]() |
UpdateAsync | Update a role |
Top