MembershipPasswordAttribute.MinRequiredPasswordLength Property

.NET Framework (current version)
 

Gets or sets the minimum required password length this attribute uses for validation.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public int MinRequiredPasswordLength { get; set; }

Property Value

Type: System.Int32

The minimum required password length this attribute uses for validation.

If the MinRequiredPasswordLength property is not explicitly set, it uses the value of the MinRequiredPasswordLength property.

.NET Framework
Available since 4.5
Return to top
Show: