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

'Declaration
Public Property MaxFailedAccessAttemptsBeforeLockout As Integer 
    Get 
    Set
'Usage
Dim instance As UserManager 
Dim value As Integer 

value = instance.MaxFailedAccessAttemptsBeforeLockout

instance.MaxFailedAccessAttemptsBeforeLockout = value
public int MaxFailedAccessAttemptsBeforeLockout { get; set; }
public:
property int MaxFailedAccessAttemptsBeforeLockout {
    int get ();
    void set (int value);
}
member MaxFailedAccessAttemptsBeforeLockout : int with get, set
function get MaxFailedAccessAttemptsBeforeLockout () : int 
function set MaxFailedAccessAttemptsBeforeLockout (value : int)

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