MembershipPasswordAttribute.MinPasswordLengthError Property

.NET Framework (current version)

Gets or sets the MinPasswordLengthError attribute.

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

public string MinPasswordLengthError { get; set; }

Property Value

Type: System.String

The MinPasswordLengthError attribute.

The MinPasswordLengthError property contains either a literal, non-localized string or a resource key that you can use with the ResourceType property to configure the localized error message. The error message is displayed when the provided password is shorter than the MinRequiredPasswordLength property.

.NET Framework
Available since 4.5
Return to top