ApplicationUserStoreTUser Class |
Namespace: Kentico.Membership
public class ApplicationUserStore<TUser> : IUserPasswordStore<TUser>, IUserStore<TUser>, IDisposable, IUserRoleStore<TUser>, IUserEmailStore<TUser>, IUserLoginStore<TUser>, IUserSecurityStampStore<TUser> where TUser : new(), ApplicationUser
The ApplicationUserStoreTUser type exposes the following members.
Name | Description | |
---|---|---|
![]() | ApplicationUserStoreTUser |
Initializes a new instance of the ApplicationUserStoreTUser to manage users for the current site.
|
Name | Description | |
---|---|---|
![]() | AddLoginAsync |
Adds an external UserLoginInfo to the specified user.
|
![]() | AddToRoleAsync |
Add the specified user to the named role.
|
![]() | CreateAsync |
Creates the specified user in the user store.
|
![]() | DeleteAsync |
Deletes the user.
|
![]() | Dispose |
Performs tasks to dispose the user store.
|
![]() | Dispose(Boolean) |
Disposes the user store.
|
![]() | FindByEmailAsync |
Gets the user, if any, associated with the specified, normalized email address.
|
![]() | FindByIdAsync(Int32, CancellationToken) |
Finds and returns a user, if any, who has the specified userId.
|
![]() | FindByIdAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified userId.
|
![]() | FindByLoginAsync |
Retrieves the user associated with the specified login provider and login provider key.
|
![]() | FindByNameAsync |
Finds and returns a user, if any, who has the specified normalized user name.
|
![]() | GetEmailAsync |
Gets the email address for the specified user.
|
![]() | GetEmailConfirmedAsync |
Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise
false.
|
![]() | GetLoginsAsync |
Retrieves the associated logins for the specified .
|
![]() | GetNormalizedEmailAsync |
Returns the normalized email for the specified user.
|
![]() | GetNormalizedUserNameAsync |
Gets the normalized user name for the specified user.
|
![]() | GetPasswordHashAsync |
Gets the password hash for the specified user.
|
![]() | GetRolesAsync |
Gets a list of role names the specified user belongs to.
|
![]() | GetSecurityStampAsync |
Get the security stamp for the specified user.
|
![]() | GetUserIdAsync |
Gets the user identifier for the specified user.
|
![]() | GetUserNameAsync |
Gets the user name for the specified user.
|
![]() | GetUsersInRoleAsync |
Returns a list of Users who are members of the named role.
|
![]() | HasPasswordAsync |
Gets a flag indicating whether the specified user has a password.
|
![]() | IsInRoleAsync |
Returns a flag indicating whether the specified user is a member of the given named role.
|
![]() | RemoveFromRoleAsync |
Remove the specified user from the named role.
|
![]() | RemoveLoginAsync |
Attempts to remove the provided login information from the specified user.
and returns a flag indicating whether the removal succeed or not.
|
![]() | SetEmailAsync |
Sets the email address for a user.
|
![]() | SetEmailConfirmedAsync |
Sets the flag indicating whether the specified user's email address has been confirmed or not.
|
![]() | SetNormalizedEmailAsync |
Sets the normalized email for the specified user.
|
![]() | SetNormalizedUserNameAsync |
Sets the given normalized name for the specified user.
|
![]() | SetPasswordHashAsync |
Sets the password hash for the specified user.
|
![]() | SetSecurityStampAsync |
Sets the provided security stamp for the specified user.
|
![]() | SetUserNameAsync |
Sets the given userName for the specified user.
|
![]() | ThrowIfDisposed |
Throws if this class has been disposed.
|
![]() | UpdateAsync |
Updates the specified user in the user store.
|