Share via


SimpleMembershipProvider.MinRequiredPasswordLength Property

Gets the minimum length that is required for a password.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property MinRequiredPasswordLength As Integer 
    Get
'Usage
Dim instance As SimpleMembershipProvider 
Dim value As Integer 

value = instance.MinRequiredPasswordLength
public override int MinRequiredPasswordLength { get; }
public:
virtual property int MinRequiredPasswordLength {
    int get () override;
}
abstract MinRequiredPasswordLength : int 
override MinRequiredPasswordLength : int
override function get MinRequiredPasswordLength () : int

Property Value

Type: System.Int32
The minimum length that is required for a password.

Remarks

The MinRequiredPasswordLength property value is set in the application configuration file (Web.config) using the minRequiredPasswordLength attribute of the membership element.

See Also

Reference

SimpleMembershipProvider Class

WebMatrix.WebData Namespace