UserNamePasswordValidationMode Enum    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists ways to validate in username/password mode.
public enum class UserNamePasswordValidationMode
	public enum UserNamePasswordValidationMode
	type UserNamePasswordValidationMode = 
	Public Enum UserNamePasswordValidationMode
		- Inheritance
 
Fields
| Name | Value | Description | 
|---|---|---|
| Windows | 0 | Usernames are mapped to Windows users.  | 
			
| MembershipProvider | 1 | Provides password validation based on a configured MembershipProvider.  | 
			
| Custom | 2 | Custom authentication based on a configured custom UserNamePasswordValidator.  | 
			
Remarks
This enumeration is referenced by UserNameServiceElement, ServiceCredentialsSecurityTokenManager, and UserNamePasswordServiceCredential.