UserManager<TUser, TKey>.DefaultAccountLockoutTimeSpan Property

 

Gets or sets the default amount of time that a user is locked out for after MaxFailedAccessAttemptsBeforeLockout is reached.

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

Syntax

public TimeSpan DefaultAccountLockoutTimeSpan { get; set; }
public:
property TimeSpan DefaultAccountLockoutTimeSpan {
    TimeSpan get();
    void set(TimeSpan value);
}
member DefaultAccountLockoutTimeSpan : TimeSpan with get, set
Public Property DefaultAccountLockoutTimeSpan As TimeSpan

Property Value

Type: System.TimeSpan

The default amount of time that a user is locked out for after MaxFailedAccessAttemptsBeforeLockout is reached.

See Also

UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top