HOOK_checkUserName ()
The method HOOK_checkUserName() checks a new user name. The method must be implemented. See the class wincc_oa_path/scripts/libs/classes/userManagement/UserManagementHooks
Synopsis
HOOK_checkUserName(string userName, string &errMsg);
Parameter | Description |
---|---|
userName | The name of a new user to be checked. |
errMsg | An error message in case of errors. The error message must be implemented, see the class wincc_oa_path/scripts/libs/classes/userManagement/UserManagementHooks |
Return Value
The function returns TRUE when the checked new user name is OK. If the user name does not meet the requirements, the function returns FALSE.
Errors
Errors are shown in the log viewer.