MembershipPasswordAttribute.PasswordStrengthRegularExpression Property

.NET Framework (current version)
 

Gets or sets the regular expression string representing the password strength the attribute uses for validation.

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

public string PasswordStrengthRegularExpression { get; set; }

Property Value

Type: System.String

The regular expression string representing the password strength the attribute uses for validation.

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

.NET Framework
Available since 4.5
Return to top
Show: