Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SimpleMembershipProvider.MinRequiredPasswordLength Property

Gets the minimum length that is required for a password.

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

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

value = instance.MinRequiredPasswordLength

Property Value

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

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

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2015 Microsoft