UserManager<TUser>.IsLockedOutAsync(TUser) Méthode

Définition

Retourne un indicateur indiquant si le spécifié user est verrouillé, en tant qu’opération asynchrone.

public:
 virtual System::Threading::Tasks::Task<bool> ^ IsLockedOutAsync(TUser user);
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)

Paramètres

user
TUser

Utilisateur dont les status verrouillées doivent être récupérées.

Retours

Task qui représente l’opération asynchrone, true si le spécifié user est verrouillé, sinon false.

S’applique à