Share via


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; }

Property Value

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

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity