IUserLockoutStore<TUser, TKey>.GetLockoutEnabledAsync Method (TUser)

 

Asynchronously returns whether the user can be locked out.

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

Syntax

Task<bool> GetLockoutEnabledAsync(
    TUser user
)
Task<bool>^ GetLockoutEnabledAsync(
    TUser user
)
abstract GetLockoutEnabledAsync : 
        user:'TUser -> Task<bool>
Function GetLockoutEnabledAsync (
    user As TUser
) As Task(Of Boolean)

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<Boolean>

The task object representing the asynchronous operation.

See Also

IUserLockoutStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top