Export (0) Print
Expand All

SimpleMembershipProvider.MinRequiredNonAlphanumericCharacters Property

Gets the minimum number of special (non-alphanumeric) characters that a password must contain.

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

override function get MinRequiredNonAlphanumericCharacters () : int

Property Value

Type: System.Int32
The minimum number of special characters that a password must contain.

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

A non-alphanumeric character is a character for which the IsLetterOrDigit method returns false.

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