IRoleStore<TRole> Interface
Defines the methods for role management.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public interface IRoleStore<TRole> : IRoleStore<TRole, string>,
IDisposable
where TRole : object, IRole<string>
generic<typename TRole>
where TRole : Object, IRole<String^>
public interface class IRoleStore : IRoleStore<TRole, String^>,
IDisposable
type IRoleStore<'TRole when 'TRole : Object and IRole<string>> =
interface
interface IRoleStore<'TRole, string>
interface IDisposable
end
Public Interface IRoleStore(Of TRole As { Object, IRole(Of String) })
Inherits IRoleStore(Of TRole, String), IDisposable
Type Parameters
- TRole
The type of the role.
Methods
Name | Description | |
---|---|---|
![]() |
CreateAsync(TRole) | Asynchronously creates a new role.(Inherited from IRoleStore<TRole, TKey>.) |
![]() |
DeleteAsync(TRole) | Asynchronously deletes a role.(Inherited from IRoleStore<TRole, TKey>.) |
![]() |
Dispose() | (Inherited from IDisposable.) |
![]() |
FindByIdAsync(TKey) | Asynchronously finds a role by ID.(Inherited from IRoleStore<TRole, TKey>.) |
![]() |
FindByNameAsync(String) | Asynchronously finds a role by name.(Inherited from IRoleStore<TRole, TKey>.) |
![]() |
UpdateAsync(TRole) | Asynchronously updates a role.(Inherited from IRoleStore<TRole, TKey>.) |
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top