Share via


UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.IncrementAccessFailedCountAsync Method

Asynchronously records the failed attempt to access the user.

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

Syntax

public Task<int> IncrementAccessFailedCountAsync(
    TUser user
)

Parameters

  • user
    Type: TUser
    The user.

Return Value

Type: System.Threading.Tasks.Task<Int32>
The task representing the asynchronous operation.

Implements

IUserLockoutStore<TUser, TKey>.IncrementAccessFailedCountAsync(TUser)

See Also

Reference

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class

Microsoft.AspNet.Identity.EntityFramework Namespace

Other Resources

ASP.NET Identity