PasswordOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies options for password requirements.
public ref class PasswordOptions
public class PasswordOptions
type PasswordOptions = class
Public Class PasswordOptions
- Inheritance
-
PasswordOptions
Constructors
PasswordOptions() |
Properties
RequireDigit |
Gets or sets a flag indicating if passwords must contain a digit. Defaults to true. |
RequiredLength |
Gets or sets the minimum length a password must be. Defaults to 6. |
RequiredUniqueChars |
Gets or sets the minimum number of unique characters which a password must contain. Defaults to 1. |
RequireLowercase |
Gets or sets a flag indicating if passwords must contain a lower case ASCII character. Defaults to true. |
RequireNonAlphanumeric |
Gets or sets a flag indicating if passwords must contain a non-alphanumeric character. Defaults to true. |
RequireUppercase |
Gets or sets a flag indicating if passwords must contain a upper case ASCII character. Defaults to true. |