Share via


LockoutOptions.MaxFailedAccessAttempts Property

Definition

Gets or sets the number of failed access attempts allowed before a user is locked out, assuming lock out is enabled. Defaults to 5.

public:
 property int MaxFailedAccessAttempts { int get(); void set(int value); };
public int MaxFailedAccessAttempts { get; set; }
member this.MaxFailedAccessAttempts : int with get, set
Public Property MaxFailedAccessAttempts As Integer

Property Value

The number of failed access attempts allowed before a user is locked out, if lockout is enabled.

Remarks

Defaults to 5 failed attempts before an account is locked out.

Applies to