Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously returns whether the user can be locked out.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Function GetLockoutEnabledAsync ( _
user As TUser _
) As Task(Of Boolean)
'Usage
Dim instance As IUserLockoutStore
Dim user As TUser
Dim returnValue As Task(Of Boolean)
returnValue = instance.GetLockoutEnabledAsync(user)
Task<bool> GetLockoutEnabledAsync(
TUser user
)
Task<bool>^ GetLockoutEnabledAsync(
TUser user
)
abstract GetLockoutEnabledAsync :
user:'TUser -> Task<bool>
function GetLockoutEnabledAsync(
user : TUser
) : Task<boolean>
- user
Type: TUser
The user.
Type: System.Threading.Tasks.Task<Boolean>
The task object representing the asynchronous operation.
IUserLockoutStore<TUser, TKey> Interface