CustomUserNameValidatorValidate Method |
This method validates users. It allows in two users, test1 and test2
with passwords 1tset and 2tset respectively.
This code is for illustration purposes only and
must not be used in a production environment because it is not secure.
Namespace: RMP.WCF.CustomValidatorAssembly: RMP.WCF (in RMP.WCF.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Validate(
string userName,
string password
)
Public Sub Validate (
userName As String,
password As String
)
public:
void Validate(
String^ userName,
String^ password
)
member Validate :
userName : string *
password : string -> unit
Parameters
- userName
- Type: SystemString
- password
- Type: SystemString
Remarks See Also