Click or drag to resize

AuthenticationValidatePassword(String, String, AuthenticationePasswordRules, String) Method

Validate a password satisfies all system cuurent password rules

Namespace: Crestron.SimplSharp.CrestronAuthentication
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public 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
Remarks
The 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