HOOK_checkPasswordQuality()
The method HOOK_checkPasswordQuality checks the quality of a password. The method must be implemented. See the class
<wincc_oa_path>/Examples_<version>/scripts/libs/classes/userManagement/UserManagementHooks
Synopsis
HOOK_checkPasswordQuality(string password, string &errMsg);
| Parameter | Description |
|---|---|
| password | The password to be checked. |
| errMsg | An error message in case of errors. The error message must be
implemented, see the class
<wincc_oa_path>/Examples_<version>/scripts/libs/classes/userManagement/UserManagementHooks |
Return Value
The function returns TRUE meaning that the check succeeded, and FALSE meaning that the password does not meet the complexity requirements.
Errors
Errors are shown in the log viewer.
Assignment
