Language
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 the current number of failed access attempts. This number usually will be reset whenever the password is verified or the account is locked out.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<int> GetAccessFailedCountAsync(
TUser user
)
Task<int>^ GetAccessFailedCountAsync(
TUser user
)
abstract GetAccessFailedCountAsync :
user:'TUser -> Task<int>
Function GetAccessFailedCountAsync (
user As TUser
) As Task(Of Integer)
Parameters
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task<Int32>
The task object representing the asynchronous operation.
See Also
IUserLockoutStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top