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

Asynchronously resets the account access failed count, typically after the account is successfully accessed.

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

Syntax

'Declaration
Public Function ResetAccessFailedCountAsync ( _
    user As TUser _
) As Task
'Usage
Dim instance As UserStore 
Dim user As TUser
Dim returnValue As Task 

returnValue = instance.ResetAccessFailedCountAsync(user)
public Task ResetAccessFailedCountAsync(
    TUser user
)
public:
virtual Task^ ResetAccessFailedCountAsync(
    TUser user
) sealed
abstract ResetAccessFailedCountAsync : 
        user:'TUser -> Task  
override ResetAccessFailedCountAsync : 
        user:'TUser -> Task
public final function ResetAccessFailedCountAsync(
    user : TUser
) : Task

Parameters

  • user
    Type: TUser
    The user.

Return Value

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

Implements

IUserLockoutStore<TUser, TKey>.ResetAccessFailedCountAsync(TUser)

See Also

Reference

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

Microsoft.AspNet.Identity.EntityFramework Namespace

Other Resources

ASP.NET Identity