AuthenticationValidatePassword(String, String, AuthenticationePasswordRules, String) Method |
Validate a password satisfies all system cuurent password rules
Namespace: Crestron.SimplSharp.CrestronAuthenticationAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool ValidatePassword(
string password,
string oldPassword,
out AuthenticationePasswordRules errors,
out string errorText
)
Parameters
- password String
- password to qualify
- oldPassword String
- current password to check similarity against, null means not available (new user or password reset)
- errors AuthenticationePasswordRules
- password check error code return
- errorText String
- Text representation of errors
Return Value
Boolean returns true if successful
RemarksThe minimum firmware version this method may require is 2.8001.00000
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also