UserManager<TUser>.GetLockoutEnabledAsync(TUser) Metodo

Definizione

Recupera un flag che indica se è possibile abilitare il blocco utente per l'utente specificato.

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

Parametri

user
TUser

L'utente la cui possibilità di essere bloccata deve essere restituita.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona, true se un utente può essere bloccato, in caso contrario false.

Si applica a