Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Interface that maps users to login providers, i.e. Google, Facebook, Twitter, Microsoft
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Interface IUserRoleStore(Of TUser As IUser) _
Inherits IUserStore(Of TUser), IDisposable
'Usage
Dim instance As IUserRoleStore(Of TUser)
public interface IUserRoleStore<TUser> : IUserStore<TUser>,
IDisposable
where TUser : IUser
generic<typename TUser>
where TUser : IUser
public interface class IUserRoleStore : IUserStore<TUser>,
IDisposable
type IUserRoleStore<'TUser when 'TUser : IUser> =
interface
interface IUserStore<'TUser>
interface IDisposable
end
JScript does not support generic types and methods.
Type Parameters
- TUser
The IUserRoleStore<TUser> type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
AddToRoleAsync | Adds a user to role |
![]() |
CreateAsync | Insert a new user (Inherited from IUserStore<TUser>.) |
![]() |
DeleteAsync | Delete a user (Inherited from IUserStore<TUser>.) |
![]() |
Dispose | (Inherited from IDisposable.) |
![]() |
FindByIdAsync | Finds a user (Inherited from IUserStore<TUser>.) |
![]() |
FindByNameAsync | Find a user by name (Inherited from IUserStore<TUser>.) |
![]() |
GetRolesAsync | Returns the roles for this user |
![]() |
IsInRoleAsync | Returns true if a user is in a role |
![]() |
RemoveFromRoleAsync | Removes the role for the user |
![]() |
UpdateAsync | Update a user (Inherited from IUserStore<TUser>.) |
Top
.gif)