IUserRoleStore<TUser> Interface

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)

public interface IUserRoleStore<TUser> : IUserStore<TUser>, 
where TUser : IUser

Type Parameters


The IUserRoleStore<TUser> type exposes the following members.

Public methodAddToRoleAsyncAdds a user to role
Public methodCreateAsyncInsert a new user (Inherited from IUserStore<TUser>.)
Public methodDeleteAsyncDelete a user (Inherited from IUserStore<TUser>.)
Public methodDispose (Inherited from IDisposable.)
Public methodFindByIdAsyncFinds a user (Inherited from IUserStore<TUser>.)
Public methodFindByNameAsyncFind a user by name (Inherited from IUserStore<TUser>.)
Public methodGetRolesAsyncReturns the roles for this user
Public methodIsInRoleAsyncReturns true if a user is in a role
Public methodRemoveFromRoleAsyncRemoves the role for the user
Public methodUpdateAsyncUpdate a user (Inherited from IUserStore<TUser>.)