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.
Determines whether the user is locked out.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public virtual Task<bool> IsLockedOutAsync(
TKey userId
)
public:
virtual Task<bool>^ IsLockedOutAsync(
TKey userId
)
abstract IsLockedOutAsync :
userId:'TKey -> Task<bool>
override IsLockedOutAsync :
userId:'TKey -> Task<bool>
Public Overridable Function IsLockedOutAsync (
userId As TKey
) As Task(Of Boolean)
Parameters
userId
Type: TKeyThe user ID.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
The task representing the asynchronous operation.
See Also
UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top