C# Class MvcInstaller.MinRequiredPasswordLength

Validate the length of the password against the value set in the web.config/system.web/membership section.
Inheritance: PropertyRule
Mostrar archivo Open project: kahanu/MvcInstaller Class Usage Examples

Public Methods

Method Description
MinRequiredPasswordLength ( string userName, int valueToValidate, int requiredValue ) : System
Validate ( ) : bool

Method Details

MinRequiredPasswordLength() public method

public MinRequiredPasswordLength ( string userName, int valueToValidate, int requiredValue ) : System
userName string
valueToValidate int
requiredValue int
return System

Validate() public method

public Validate ( ) : bool
return bool