ITrendStorageAccessReadOperator.DisplayVariableNameRead (METH) ¶ METHOD DisplayVariableNameRead Notification, that the flag “display variable name” was read from table TblTrendConfiguration. InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables xDisplayVariableName BOOL The value of the flag
IVisuUserManagement3 ¶ ChangePassword (Method) Login (Method) Logout (Method) UserCount (Method) Users (Method)
VisuUserMgmt.ChangePassword (METH) ¶ METHOD ChangePassword : VUM_ReturnValues It chenges the user password It works with both legacy and runtime-based user management If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues where possible error reasons are described. InOut: Scope Name Type Comment Return ChangePassword VUM_ReturnValues Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData wstUserName WSTRING(79) The user name wstNewPassword WSTRING(79) The new password wstOldPassword WSTRING(79) The old password
VisuUserMgmt.Login (METH) ¶ METHOD Login : VUM_ReturnValues It executes the login It works with both legacy and runtime-based user management If everything is correct the function returns VUM_ReturnValues.ERR_OK. In the case of logging in a user what needs to change the password at the first login, the error returned error will be VUM_ReturnValues.ERR_CHANGE_PASSWORD The caller of this method is responsible for handling the error code regarding changing of password, no automatism will be triggered to force a password change see VUM_ReturnValues where possible error reasons are described. InOut: Scope Name Type Comment Return Login VUM_ReturnValues Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData wstUserName WSTRING(79) The user name wstPassword WSTRING(79) The password of the user Output wstFullNameIfAvailable WSTRING The full name of the user, it it’s available dwUserGroupID DWORD The group id where the user belongs to adwUserGroupIDs ARRAY [0..VUM_Constants.VISU_VUM_MAX_GROUPS_PER_USER] OF DWORD Array of user group ids. In the first entry there’s the user group id same of dwUserGroupID dwUserGroupCount DWORD Number of additional user groups bDeactivated BOOL Is the user deactivated
VisuUserMgmt.Logout (METH) ¶ METHOD Logout : VUM_ReturnValues It does the logout It works with both legacy and runtime-based user managements If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues where possible error reasons are described. InOut: Scope Name Type Comment Return Logout VUM_ReturnValues Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData
VisuUserMgmt.UserCount (METH) ¶ METHOD UserCount : UDINT Returns the number of all available users. It works with both legacy and runtime-based user management InOut: Scope Name Type Comment Return UserCount UDINT Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData Output result VUM_ReturnValues
VisuUserMgmt.Users (METH) ¶ METHOD Users : VUM_ReturnValues Returns the users in a specified range It works with both legacy and runtime-based user management If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues where possible error reasons are described. InOut: Scope Name Type Comment Return Users VUM_ReturnValues Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData udiStartIndex UDINT The start index in a list of users udiEndIndex UDINT The end index in a list of users pArr POINTER TO ARRAY [0..0] OF VUM_User2 The user data which should be filled udiArrSize UDINT The size of the given user array
IVisuUserManagement4 ¶ EditUser (Method)
VisuUserMgmt.LoginRts (METH) ¶ METHOD LoginRts : UDINT It does a login in RTS InOut: Scope Name Type Return LoginRts UDINT Input wstUserName WSTRING wstPassword WSTRING pClientData POINTER TO VisuElems.VisuStructClientData pUser POINTER TO VUM_User Output wstFullName WSTRING dwUserGroupID DWORD
IVisuUserMgmt4 ¶ ChangeUser4 (Method) GetUsers4 (Method) LogoutRts (Method)