| UserStore Methods |
The UserStore type exposes the following members.
| Name | Description | |
|---|---|---|
| AddLoginAsync(TUser, UserLoginInfo) |
Adds external login to user.
(Inherited from KenticoUserStoreTUser.) | |
| AddLoginAsync(TUser, UserLoginInfo, CancellationToken) |
Adds an external UserLoginInfo to the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| AddToRoleAsync(TUser, String) |
Adds user to Role.
(Inherited from KenticoUserStoreTUser.) | |
| AddToRoleAsync(TUser, String, CancellationToken) |
Add the specified user to the named role.
(Inherited from ApplicationUserStoreTUser.) | |
| CreateAsync(TUser) |
Inserts new user to the database.
(Inherited from KenticoUserStoreTUser.) | |
| CreateAsync(TUser, CancellationToken) |
Creates the specified user in the user store.
(Inherited from ApplicationUserStoreTUser.) | |
| DeleteAsync(TUser) |
Deletes the user.
(Inherited from KenticoUserStoreTUser.) | |
| DeleteAsync(TUser, CancellationToken) |
Deletes the user.
(Inherited from ApplicationUserStoreTUser.) | |
| Dispose |
Performs tasks to dispose the user store.
(Inherited from ApplicationUserStoreTUser.) | |
| Dispose(Boolean) |
Disposes the user store.
(Inherited from ApplicationUserStoreTUser.) | |
| FindAsync |
Returns user based on given external login.
(Inherited from KenticoUserStoreTUser.) | |
| FindByEmailAsync(String) |
Returns the user associated with the given email.
(Inherited from KenticoUserStoreTUser.) | |
| FindByEmailAsync(String, CancellationToken) |
Gets the user, if any, associated with the specified, normalized email address.
(Inherited from ApplicationUserStoreTUser.) | |
| FindByIdAsync(Int32) |
Finds the user by user's UserId.
(Inherited from KenticoUserStoreTUser.) | |
| FindByIdAsync(Int32, CancellationToken) |
Finds and returns a user, if any, who has the specified userId.
(Inherited from ApplicationUserStoreTUser.) | |
| FindByIdAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified userId.
(Inherited from ApplicationUserStoreTUser.) | |
| FindByLoginAsync |
Retrieves the user associated with the specified login provider and login provider key.
(Inherited from ApplicationUserStoreTUser.) | |
| FindByNameAsync(String) |
Finds the user by user's username.
(Inherited from KenticoUserStoreTUser.) | |
| FindByNameAsync(String, CancellationToken) |
Finds and returns a user, if any, who has the specified normalized user name.
(Inherited from ApplicationUserStoreTUser.) | |
| GetAccessFailedCountAsync |
Returns the current number of failed access attempts.
(Inherited from KenticoUserStoreTUser.) | |
| GetEmailAsync(TUser) |
Gets the user email.
(Inherited from KenticoUserStoreTUser.) | |
| GetEmailAsync(TUser, CancellationToken) |
Gets the email address for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetEmailConfirmedAsync(TUser) |
Returns true if the user email is confirmed.
(Inherited from KenticoUserStoreTUser.) | |
| GetEmailConfirmedAsync(TUser, CancellationToken) |
Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise
false.
(Inherited from ApplicationUserStoreTUser.) | |
| GetLockoutEnabledAsync |
Returns whether the user can be locked out.
(Inherited from KenticoUserStoreTUser.) | |
| GetLockoutEndDateAsync |
Returns the DateTimeOffset that represents the end of the user's lockout, any time
in the past should be considered not locked out.
(Inherited from KenticoUserStoreTUser.) | |
| GetLoginsAsync(TUser) |
Returns all external logins of user.
(Inherited from KenticoUserStoreTUser.) | |
| GetLoginsAsync(TUser, CancellationToken) |
Retrieves the associated logins for the specified .
(Inherited from ApplicationUserStoreTUser.) | |
| GetNormalizedEmailAsync |
Returns the normalized email for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetNormalizedUserNameAsync |
Gets the normalized user name for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetPasswordHashAsync(TUser) |
Gets the password hash for the user.
(Inherited from KenticoUserStoreTUser.) | |
| GetPasswordHashAsync(TUser, CancellationToken) |
Gets the password hash for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetRolesAsync(TUser) |
Returns all role names for the given user.
(Inherited from KenticoUserStoreTUser.) | |
| GetRolesAsync(TUser, CancellationToken) |
Gets a list of role names the specified user belongs to.
(Inherited from ApplicationUserStoreTUser.) | |
| GetSecurityStampAsync(TUser) |
Returns user's security stamp.
(Inherited from KenticoUserStoreTUser.) | |
| GetSecurityStampAsync(TUser, CancellationToken) |
Get the security stamp for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetTwoFactorEnabledAsync |
Returns whether two factor authentication is enabled for the user.
(Inherited from KenticoUserStoreTUser.) | |
| GetUserIdAsync |
Gets the user identifier for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetUserNameAsync |
Gets the user name for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| GetUsersInRoleAsync |
Returns a list of Users who are members of the named role.
(Inherited from ApplicationUserStoreTUser.) | |
| HasPasswordAsync(TUser) |
Returns true if the user has the password set.
(Inherited from KenticoUserStoreTUser.) | |
| HasPasswordAsync(TUser, CancellationToken) |
Gets a flag indicating whether the specified user has a password.
(Inherited from ApplicationUserStoreTUser.) | |
| IncrementAccessFailedCountAsync | Obsolete.
Used to record when an attempt to access the user has failed.
(Inherited from KenticoUserStoreTUser.) | |
| IsInRoleAsync(TUser, String) |
Checks whether user is in role with given role name.
(Inherited from KenticoUserStoreTUser.) | |
| IsInRoleAsync(TUser, String, CancellationToken) |
Returns a flag indicating whether the specified user is a member of the given named role.
(Inherited from ApplicationUserStoreTUser.) | |
| RemoveFromRoleAsync(TUser, String) |
Removes user from Role.
(Inherited from KenticoUserStoreTUser.) | |
| RemoveFromRoleAsync(TUser, String, CancellationToken) |
Remove the specified user from the named role.
(Inherited from ApplicationUserStoreTUser.) | |
| RemoveLoginAsync(TUser, UserLoginInfo) |
Removes external login to user.
(Inherited from KenticoUserStoreTUser.) | |
| RemoveLoginAsync(TUser, String, String, CancellationToken) |
Attempts to remove the provided login information from the specified user.
and returns a flag indicating whether the removal succeed or not.
(Inherited from ApplicationUserStoreTUser.) | |
| ResetAccessFailedCountAsync | Obsolete.
Used to reset the access failed count, typically after the account is successfully accessed.
(Inherited from KenticoUserStoreTUser.) | |
| SetEmailAsync(TUser, String) |
Sets the user email.
(Inherited from KenticoUserStoreTUser.) | |
| SetEmailAsync(TUser, String, CancellationToken) |
Sets the email address for a user.
(Inherited from ApplicationUserStoreTUser.) | |
| SetEmailConfirmedAsync(TUser, Boolean) |
Enables user if her email was confirmed.
(Inherited from KenticoUserStoreTUser.) | |
| SetEmailConfirmedAsync(TUser, Boolean, CancellationToken) |
Sets the flag indicating whether the specified user's email address has been confirmed or not.
(Inherited from ApplicationUserStoreTUser.) | |
| SetLockoutEnabledAsync | Obsolete.
Sets whether the user can be locked out.
(Inherited from KenticoUserStoreTUser.) | |
| SetLockoutEndDateAsync | Obsolete.
Locks a user out until the specified end date (set to a past date, to unlock a user).
(Inherited from KenticoUserStoreTUser.) | |
| SetNormalizedEmailAsync |
Sets the normalized email for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| SetNormalizedUserNameAsync |
Sets the given normalized name for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| SetPasswordHashAsync(TUser, String) |
Sets the password hash for the user.
(Inherited from KenticoUserStoreTUser.) | |
| SetPasswordHashAsync(TUser, String, CancellationToken) |
Sets the password hash for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| SetSecurityStampAsync(TUser, String) |
Sets user's security stamp.
(Inherited from KenticoUserStoreTUser.) | |
| SetSecurityStampAsync(TUser, String, CancellationToken) |
Sets the provided security stamp for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| SetTwoFactorEnabledAsync | Obsolete.
Sets whether two factor authentication is enabled for the user.
(Inherited from KenticoUserStoreTUser.) | |
| SetUserNameAsync |
Sets the given userName for the specified user.
(Inherited from ApplicationUserStoreTUser.) | |
| ThrowIfDisposed |
Throws if this class has been disposed.
(Inherited from ApplicationUserStoreTUser.) | |
| UpdateAsync(TUser) |
Updates a user.
(Inherited from KenticoUserStoreTUser.) | |
| UpdateAsync(TUser, CancellationToken) |
Updates the specified user in the user store.
(Inherited from ApplicationUserStoreTUser.) |