UserManagement ¶ FindUserByType (Method)
VUM_Constants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant VISU_VUM_MAX_GROUPS_PER_USER INT 10 The maximum number of groups a visu user can belong to
VUM_EditType (ENUM) ¶ TYPE VUM_EditType : InOut: Name Initial VUM_NONE 0 VUM_ADD 1 VUM_INSERT 2 VUM_MODIFY 3 VUM_REMOVE 4 VUM_CHECKPASSWORD 5 VUM_CHANGEPASSWORD 6 VUM_CHECKPASSWORD_AND_GROUPID 7 VUM_FIND_USER_BY_NAME 8 VUM_FIND_NEXT_ACTIVE_USER_WHICH_BELONGS_TO_ONE_OF_THE_GROUPS 9
VUM_ReturnValues (ENUM) ¶ TYPE VUM_ReturnValues : InOut: Name Initial Comment ERR_OK 16#0 Standard return values ERR_FAILED 16#1 The operation failed ERR_PARAMETER 16#2 Wrong parameter ERR_CHANGE_PASSWORD 16#3F The password has TO be changed ERR_VUM_FILE_NOT_FOUND 16#5000 Range for VisuUserMan Errors 16#5000 until 16#50FF ERR_VUM_TEMP_FILE_CANNOT_BE_OPENED 16#5001 The user management temp file cannot be opened ERR_VUM_FILE_READ_FAILED 16#5002 The user management file cannot be read ERR_VUM_FILE_WRITE_FAILED 16#5003 The user management file cannot be written ERR_VUM_INVALID_FILE_CONTENT 16#5004 The user management file has a invalid content ERR_VUM_USERNAME_ALREADY_EXIST 16#5005 The user name must be unique ERR_VUM_WRONG_PASSWORD 16#5006 The password is wrong ERR_VUM_UNEQUAL_PASSWORD 16#5007 The password isn’t equal to the acknowledge password ERR_VUM_NEW_USER_DB_CANNOT_BE_STORED 16#5008 The new user db file cannot be stored ERR_VUM_ONLY_VISIBLE_USERS_CAN_BE_REMOVED 16#5009 Only visible users can be removed ERR_VUM_EMPTY_PASSWORD_NOT_ALLOWED 16#500A An empty password is not allowed ERR_VUM_ANOTHER_CLIENT_EDITS_UM 16#500B Only one client can edit user management entries ERR_VUM_SYSFILE_ERROR 16#500C Error during working with SysFile ERR_VUM_SETNEWUSERDB_FAILED 16#500D Set new user database failed ERR_VUM_PROXY_IS_NOT_IN_IDLE_MODE 16#500E Proxy is not in idle mode ERR_VUM_DATASERVER_ERROR 16#500F DataServer ProcessDataServerRequest error ERR_VUM_DATASERVER_ERROR_USERS 16#5010 The user list cannot be read from the remote system ERR_VUM_MAX_GROUP_LIMIT 16#5011 The maximum number of possible groups is exceeded ERR_VUM_USER_DOES_NOT_EXIST 16#5012 The user does not exist ERR_VUM_USER_IS_INACTIVE 16#5013 The user is inactive ERR_VUM_NO_LOGIN_PROVIDER_AVAILABLE 16#5014 The login dialog cannot be opened because the maximum number of login dialogs is reached ERR_VUM_NO_CLIENT_MEMORY 16#5015 No client memory ERR_VUM_NO_USER_LOGGED_IN 16#5016 No user logged in ERR_VUM_NO_VALID_USERGROUP_SET 16#5017 No valid user group set ERR_VUM_NO_RIGHT_TO_CHANGE_USERS 16#5018 No right to change users ERR_VUM_NO_USER_MANAGEMENT 16#5019 No user management ERR_VUM_USER_NOT_IN_USER_GROUP 16#501A The user does not belong to the user group ERR_VUM_EXTERNAL_USER_DATABASE_PROVIDER2_NOT_IMPLEMENTED 16#501B The external user database provider does not implement IExternalUserDatabaseProvider2 ERR_VUM_LOGIN_WRONG_ATTEMPT 16#501C The password is wrong and the login attempts are limited ERR_VUM_LOGIN_SECONDLAST_WRONG_ATTEMPT 16#501D The password is wrong and the login attempts are limited. Only one more attempt is left ERR_VUM_LOGIN_LOCKOUT_TEMP 16#501E This was the last wrong login attempt. User will be locked for defined time ERR_VUM_LOGIN_LOCKOUT_COMPLETE 16#501F This was the last wrong login attempt. User will be locked completly ERR_VUM_EMPTY_USER_NAME_NOT_ALLOWED 16#5020 Modifiing an user with an empty user name is not allowed ERR_VUM_NOT_ALLOWED_RTS_BASED 16#5021 Operation not allowed in runtime based user management ERR_VUM_NOT_ALLOWED_LEGACY_BASED 16#5022 Operation not allowed in legacy user management ERR_VUM_EQUAL_PASSWORD 16#5023 The password is the same as the one already present ERR_VUM_GROUPS_NOT_OK 16#5024 Groups configuration not ok ERR_VUM_NO_ACCESS_RIGHTS 16#5025 No access rights
VUM_User (STRUCT) ¶ TYPE VUM_User : STRUCT InOut: Name Type Comment wstUserName WSTRING(79) The user name which must be unique wstFullName WSTRING(79) A free full name of the user, only used for legacy. wstPassword WSTRING(79) The password which should be used to generate the md5hash md5Hash ARRAY [0..15] OF BYTE The md5hash of the password dwUserGroupID DWORD The user group id abyUserGroupIDs ARRAY [0..VUM_Constants.VISU_VUM_MAX_GROUPS_PER_USER] OF BYTE Additional user group ids if the user belongs to several groups byUserGroupCount BYTE Number of additional user groups bDeactivated BOOL Is the user deactivated. Only used for legacy.
Interfaces ¶ IExternalUserDatabaseProvider (Interface) ChangePassword ChangeUserPassword (Method) Login CheckLogin (Method) CheckLoginWithGroupID (Method) UserManagement ChangeUser (Method) GetUserCount (Method) GetUsers (Method) IExternalUserDatabaseProvider2 (Interface) UserManagement FindUserByType (Method)
IExternalUserDatabaseProvider (ITF) ¶ INTERFACE IExternalUserDatabaseProvider EXTENDS IBase, __SYSTEM.IQueryInterface Interface which can be implemented when not the standard user database should be used. For example when the user database should be adapted to an active directory. In this case the internal user management calls this interface when a Login, ChangePassword or ChangeUserDatabase action is executed. Methods: ChangeUser ChangeUserPassword CheckLogin CheckLoginWithGroupID GetUserCount GetUsers Structure: ChangePassword ChangeUserPassword (Method) Login CheckLogin (Method) CheckLoginWithGroupID (Method) UserManagement ChangeUser (Method) GetUserCount (Method) GetUsers (Method)
ChangePassword ¶ ChangeUserPassword (Method)
Login ¶ CheckLogin (Method) CheckLoginWithGroupID (Method)
UserManagement ¶ ChangeUser (Method) GetUserCount (Method) GetUsers (Method)