IUserRoleStore<TUser> Interface
Defines the methods to implement to map users to their roles.
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
| Name | Description | |
|---|---|---|
![]() | AddToRoleAsync(TUser, String) | Asynchronously adds a user to a role.(Inherited from IUserRoleStore<TUser, TKey>.) |
![]() | CreateAsync(TUser) | Asynchronously inserts a new user.(Inherited from IUserStore<TUser, TKey>.) |
![]() | DeleteAsync(TUser) | Asynchronously deletes a user.(Inherited from IUserStore<TUser, TKey>.) |
![]() | Dispose() | (Inherited from IDisposable.) |
![]() | FindByIdAsync(TKey) | Asynchronously finds a user using the specified identifier.(Inherited from IUserStore<TUser, TKey>.) |
![]() | FindByNameAsync(String) | Asynchronously finds a user by name.(Inherited from IUserStore<TUser, TKey>.) |
![]() | GetRolesAsync(TUser) | Asynchronously returns the roles for this user.(Inherited from IUserRoleStore<TUser, TKey>.) |
![]() | IsInRoleAsync(TUser, String) | Asynchronously returns whether a user is in the role.(Inherited from IUserRoleStore<TUser, TKey>.) |
![]() | RemoveFromRoleAsync(TUser, String) | Asynchronously removes the role for the user.(Inherited from IUserRoleStore<TUser, TKey>.) |
![]() | UpdateAsync(TUser) | Asynchronously updates a user.(Inherited from IUserStore<TUser, TKey>.) |
