Table of Contents

Class AdminLockoutOptions

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Options for lockout.

public sealed class AdminLockoutOptions
Inheritance
object
AdminLockoutOptions
Extension Methods

Properties

DefaultLockoutTimeSpan

Gets or sets the default duration of the lockout period.

public TimeSpan DefaultLockoutTimeSpan { get; set; }

Property Value

TimeSpan

Remarks

The default value is 5 minutes.

Enabled

Indicates if user lockout is enabled.

public bool Enabled { get; set; }

Property Value

bool

Remarks

The default value is true.

MaxFailedAccessAttempts

Gets or sets the maximum number of failed access attempts allowed before a user is locked out.

public int MaxFailedAccessAttempts { get; set; }

Property Value

int

Remarks

The default value is 5.