UserManagerExtensions Class

 

Represents the extension methods for user manager.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

System.Object
  Microsoft.AspNet.Identity.UserManagerExtensions

public static class UserManagerExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAccessFailed<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Increments the access failed count for the user.

System_CAPS_pubmethodSystem_CAPS_staticAddClaim<TUser, TKey>(UserManager<TUser, TKey>, TKey, Claim)

Adds a user claim.

System_CAPS_pubmethodSystem_CAPS_staticAddLogin<TUser, TKey>(UserManager<TUser, TKey>, TKey, UserLoginInfo)

Adds a user login.

System_CAPS_pubmethodSystem_CAPS_staticAddPassword<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Adds a user password only if one does not already exist.

System_CAPS_pubmethodSystem_CAPS_staticAddToRole<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Adds a user to a role.

System_CAPS_pubmethodSystem_CAPS_staticAddToRoles<TUser, TKey>(UserManager<TUser, TKey>, TKey, String[])

Add a user to several roles

System_CAPS_pubmethodSystem_CAPS_staticChangePassword<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Changes a user password.

System_CAPS_pubmethodSystem_CAPS_staticChangePhoneNumber<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Changes a phone number using the verification token.

System_CAPS_pubmethodSystem_CAPS_staticCheckPassword<TUser, TKey>(UserManager<TUser, TKey>, TUser, String)

Determines whether the password combination is valid for the user.

System_CAPS_pubmethodSystem_CAPS_staticConfirmEmail<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Confirms the user with confirmation token.

System_CAPS_pubmethodSystem_CAPS_staticCreate<TUser, TKey>(UserManager<TUser, TKey>, TUser)

Creates a user with no password.

System_CAPS_pubmethodSystem_CAPS_staticCreate<TUser, TKey>(UserManager<TUser, TKey>, TUser, String)

Creates a user and associates it with the given password (if one is provided).

System_CAPS_pubmethodSystem_CAPS_staticCreateIdentity<TUser, TKey>(UserManager<TUser, TKey>, TUser, String)

Creates a ClaimsIdentity representing the user.

System_CAPS_pubmethodSystem_CAPS_staticDelete<TUser, TKey>(UserManager<TUser, TKey>, TUser)

Delete a user.

System_CAPS_pubmethodSystem_CAPS_staticFind<TUser, TKey>(UserManager<TUser, TKey>, String, String)

Returns a user with the specified username and password or null if there is no match.

System_CAPS_pubmethodSystem_CAPS_staticFind<TUser, TKey>(UserManager<TUser, TKey>, UserLoginInfo)

Finds a user.

System_CAPS_pubmethodSystem_CAPS_staticFindByEmail<TUser, TKey>(UserManager<TUser, TKey>, String)

Finds a user by email.

System_CAPS_pubmethodSystem_CAPS_staticFindById<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Finds a user by ID.

System_CAPS_pubmethodSystem_CAPS_staticFindByName<TUser, TKey>(UserManager<TUser, TKey>, String)

Finds a user by name.

System_CAPS_pubmethodSystem_CAPS_staticGenerateChangePhoneNumberToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Generates a token for using to change to a specific phone number for the user.

System_CAPS_pubmethodSystem_CAPS_staticGenerateEmailConfirmationToken<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets the confirmation token for the user.

System_CAPS_pubmethodSystem_CAPS_staticGeneratePasswordResetToken<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets the password reset token for the user.

System_CAPS_pubmethodSystem_CAPS_staticGenerateTwoFactorToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Gets a user token for a factor provider.

System_CAPS_pubmethodSystem_CAPS_staticGenerateUserToken<TUser, TKey>(UserManager<TUser, TKey>, String, TKey)

Gets a user token for a specific purpose.

System_CAPS_pubmethodSystem_CAPS_staticGetAccessFailedCount<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Returns the number of failed access attempts for the user.

System_CAPS_pubmethodSystem_CAPS_staticGetClaims<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets a user’s claims.

System_CAPS_pubmethodSystem_CAPS_staticGetEmail<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets a user's email.

System_CAPS_pubmethodSystem_CAPS_staticGetLockoutEnabled<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Returns whether the user allows lockout.

System_CAPS_pubmethodSystem_CAPS_staticGetLockoutEndDate<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Returns the user lockout end date.

System_CAPS_pubmethodSystem_CAPS_staticGetLogins<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets the logins for a user.

System_CAPS_pubmethodSystem_CAPS_staticGetPhoneNumber<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets a user's phone number.

System_CAPS_pubmethodSystem_CAPS_staticGetRoles<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets a user's roles.

System_CAPS_pubmethodSystem_CAPS_staticGetSecurityStamp<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Gets the current security stamp for a user.

System_CAPS_pubmethodSystem_CAPS_staticGetTwoFactorEnabled<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Determines whether two factor is enabled for the user.

System_CAPS_pubmethodSystem_CAPS_staticGetValidTwoFactorProviders<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Returns a list of valid two factor providers for a user.

System_CAPS_pubmethodSystem_CAPS_staticHasPassword<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Determines whether a user has a password set.

System_CAPS_pubmethodSystem_CAPS_staticIsEmailConfirmed<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Determines whether the user's email has been confirmed.

System_CAPS_pubmethodSystem_CAPS_staticIsInRole<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Determines whether the user is in the specified role.

System_CAPS_pubmethodSystem_CAPS_staticIsLockedOut<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Determines whether the user is locked out.

System_CAPS_pubmethodSystem_CAPS_staticIsPhoneNumberConfirmed<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Determines whether the user's phone number has been confirmed.

System_CAPS_pubmethodSystem_CAPS_staticNotifyTwoFactorToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Notifies a user with a token from a specific user factor provider.

System_CAPS_pubmethodSystem_CAPS_staticRemoveClaim<TUser, TKey>(UserManager<TUser, TKey>, TKey, Claim)

Removes a user claim.

System_CAPS_pubmethodSystem_CAPS_staticRemoveFromRole<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Removes a user from a role.

System_CAPS_pubmethodSystem_CAPS_staticRemoveFromRoles<TUser, TKey>(UserManager<TUser, TKey>, TKey, String[])

Remove a user from the specified roles.

System_CAPS_pubmethodSystem_CAPS_staticRemoveLogin<TUser, TKey>(UserManager<TUser, TKey>, TKey, UserLoginInfo)

Removes a user login.

System_CAPS_pubmethodSystem_CAPS_staticRemovePassword<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Associates a login with a user.

System_CAPS_pubmethodSystem_CAPS_staticResetAccessFailedCount<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Resets the access failed count for the user to 0.

System_CAPS_pubmethodSystem_CAPS_staticResetPassword<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Resets a user's password using a reset password token.

System_CAPS_pubmethodSystem_CAPS_staticSendEmail<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Sends email with supplied subject and body.

System_CAPS_pubmethodSystem_CAPS_staticSendSms<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Sends text message using the given message.

System_CAPS_pubmethodSystem_CAPS_staticSetEmail<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Sets a user's email.

System_CAPS_pubmethodSystem_CAPS_staticSetLockoutEnabled<TUser, TKey>(UserManager<TUser, TKey>, TKey, Boolean)

Sets whether the user allows lockout.

System_CAPS_pubmethodSystem_CAPS_staticSetLockoutEndDate<TUser, TKey>(UserManager<TUser, TKey>, TKey, DateTimeOffset)

Sets the user lockout end date.

System_CAPS_pubmethodSystem_CAPS_staticSetPhoneNumber<TUser, TKey>(UserManager<TUser, TKey>, TKey, String)

Sets a user's phone number

System_CAPS_pubmethodSystem_CAPS_staticSetTwoFactorEnabled<TUser, TKey>(UserManager<TUser, TKey>, TKey, Boolean)

Sets whether a user's two factor is enabled.

System_CAPS_pubmethodSystem_CAPS_staticUpdate<TUser, TKey>(UserManager<TUser, TKey>, TUser)

Updates a user.

System_CAPS_pubmethodSystem_CAPS_staticUpdateSecurityStamp<TUser, TKey>(UserManager<TUser, TKey>, TKey)

Generates a new security stamp for a user, used for SignOutEverywhere functionality.

System_CAPS_pubmethodSystem_CAPS_staticVerifyChangePhoneNumberToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Determines whether the token is valid for changing the user's phone number.

System_CAPS_pubmethodSystem_CAPS_staticVerifyTwoFactorToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Determines whether a user factor token with the specified provider is valid.

System_CAPS_pubmethodSystem_CAPS_staticVerifyUserToken<TUser, TKey>(UserManager<TUser, TKey>, TKey, String, String)

Determines whether a user token is valid.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: