UserManager<TUser>.GetAccessFailedCountAsync(TUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the current number of failed accesses for the given user
.
public:
virtual System::Threading::Tasks::Task<int> ^ GetAccessFailedCountAsync(TUser user);
public virtual System.Threading.Tasks.Task<int> GetAccessFailedCountAsync (TUser user);
abstract member GetAccessFailedCountAsync : 'User -> System.Threading.Tasks.Task<int>
override this.GetAccessFailedCountAsync : 'User -> System.Threading.Tasks.Task<int>
Public Overridable Function GetAccessFailedCountAsync (user As TUser) As Task(Of Integer)
Parameters
- user
- TUser
The user whose access failed count should be retrieved for.
Returns
The Task that contains the result the asynchronous operation, the current failed access count for the user.