Table of Contents

Class AdminIdentityPasswordOptions

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Options for identity password.

public sealed class AdminIdentityPasswordOptions
Inheritance
object
AdminIdentityPasswordOptions
Extension Methods

Constructors

AdminIdentityPasswordOptions()

Creates a new instance of AdminIdentityPasswordOptions class.

public AdminIdentityPasswordOptions()

Properties

ForbiddenPasswords

A collection of passwords that are not allowed to be used.

public HashSet<string> ForbiddenPasswords { get; set; }

Property Value

HashSet<string>

Remarks

Default value is empty collection.

RequireDigit

Indicates if password needs a digit.

public bool RequireDigit { get; set; }

Property Value

bool

Remarks

Default value is true.

RequireLowercase

Indicates if the password needs to contain a lowercase letter.

public bool RequireLowercase { get; set; }

Property Value

bool

Remarks

Default value is true.

RequireNonAlphanumeric

Indicates if the password needs to contain a non-alphanumeric character.

public bool RequireNonAlphanumeric { get; set; }

Property Value

bool

Remarks

Default value is true.

RequireUppercase

Indicates if the password needs to contain an uppercase letter.

public bool RequireUppercase { get; set; }

Property Value

bool

Remarks

Default value is true.

RequiredLength

Gets or sets the minimal length of the password.

public int RequiredLength { get; set; }

Property Value

int

Remarks

Default value is 8.

RequiredUniqueChars

Gets or sets the required amount of unique characters in the password.

public int RequiredUniqueChars { get; set; }

Property Value

int

Remarks

Default value is 1.