Share via


UserManager<TUser, TKey>.UpdatePassword Method (IUserPasswordStore<TUser, TKey>, TUser, String)

 

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

Syntax

protected virtual Task<IdentityResult> UpdatePassword(
    IUserPasswordStore<TUser, TKey> passwordStore,
    TUser user,
    string newPassword
)
protected:
virtual Task<IdentityResult^>^ UpdatePassword(
    IUserPasswordStore<TUser, TKey>^ passwordStore,
    TUser user,
    String^ newPassword
)
abstract UpdatePassword : 
        passwordStore:IUserPasswordStore<'TUser, 'TKey> *
        user:'TUser *
        newPassword:string -> Task<IdentityResult>
override UpdatePassword : 
        passwordStore:IUserPasswordStore<'TUser, 'TKey> *
        user:'TUser *
        newPassword:string -> Task<IdentityResult>
Protected Overridable Function UpdatePassword (
    passwordStore As IUserPasswordStore(Of TUser, TKey),
    user As TUser,
    newPassword As String
) As Task(Of IdentityResult)

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>

See Also

UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace

Return to top