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)
'Declaration
Public Property DefaultAccountLockoutTimeSpan As TimeSpan
Get
Set
'Usage
Dim instance As UserManager
Dim value As TimeSpan
value = instance.DefaultAccountLockoutTimeSpan
instance.DefaultAccountLockoutTimeSpan = value
public TimeSpan DefaultAccountLockoutTimeSpan { get; set; }
public:
property TimeSpan DefaultAccountLockoutTimeSpan {
TimeSpan get ();
void set (TimeSpan value);
}
member DefaultAccountLockoutTimeSpan : TimeSpan with get, set
function get DefaultAccountLockoutTimeSpan () : TimeSpan
function set DefaultAccountLockoutTimeSpan (value : TimeSpan)
Type: System.TimeSpan
The default amount of time that a user is locked out for after MaxFailedAccessAttemptsBeforeLockout is reached.
UserManager<TUser, TKey> Class