Share via


UserManager<TUser>.UpdateAsync Method

Update a user

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

Syntax

'Declaration
Public Overridable Function UpdateAsync ( _
    user As TUser _
) As Task(Of IdentityResult)
'Usage
Dim instance As UserManager 
Dim user As TUser
Dim returnValue As Task(Of IdentityResult)

returnValue = instance.UpdateAsync(user)
public virtual Task<IdentityResult> UpdateAsync(
    TUser user
)
public:
virtual Task<IdentityResult^>^ UpdateAsync(
    TUser user
)
abstract UpdateAsync : 
        user:'TUser -> Task<IdentityResult> 
override UpdateAsync : 
        user:'TUser -> Task<IdentityResult> 
public function UpdateAsync(
    user : TUser
) : Task<IdentityResult>

Parameters

Return Value

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

See Also

Reference

UserManager<TUser> Class

Microsoft.AspNet.Identity Namespace