Click or drag to resize
ApplicationUserStoreTUserUpdateAsync Method
Updates the specified user in the user store.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task<IdentityResult> UpdateAsync(
	TUser user,
	CancellationToken cancellationToken
)

Parameters

user
Type: TUser
The user to update.
cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.

Return Value

Type: TaskIdentityResult
The TaskTResult that represents the asynchronous operation, containing the IdentityResult of the update operation.

Implements

IUserStore.UpdateAsync(UTP, CancellationToken)
Exceptions
ExceptionCondition
ArgumentNullExceptionuser is null.
InvalidOperationExceptionThrown when user is not found.
See Also