UserManager<TUser, TKey>.DeleteAsync Method

Deletes a user.

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

public virtual Task<IdentityResult> DeleteAsync(
	TUser user
)

Parameters

user
Type: TUser
The user.

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>
The task representing the asynchronous operation.
Show: