Share via


UserManager<TUser, TKey>.MaxFailedAccessAttemptsBeforeLockout Property

Gets or sets the maximum number of access attempts allowed before a user is locked out (if lockout is enabled).

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

Syntax

public int MaxFailedAccessAttemptsBeforeLockout { get; set; }

Property Value

Type: System.Int32
The maximum number of access attempts allowed before a user is locked out (if lockout is enabled).

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity