UserManager<TUser>.IsLockedOutAsync(TUser) UserManager<TUser>.IsLockedOutAsync(TUser) UserManager<TUser>.IsLockedOutAsync(TUser) Method

Definition

Returns a flag indicating whether the specified user his locked out, as an asynchronous operation.

public virtual System.Threading.Tasks.Task<bool> IsLockedOutAsync (TUser user);
abstract member IsLockedOutAsync : 'User -> System.Threading.Tasks.Task<bool>
override this.IsLockedOutAsync : 'User -> System.Threading.Tasks.Task<bool>
Public Overridable Function IsLockedOutAsync (user As TUser) As Task(Of Boolean)

Parameters

user
TUser TUser TUser

The user whose locked out status should be retrieved.

Returns

The Task that represents the asynchronous operation, true if the specified user is locked out, otherwise false.

Applies to