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)
VisuUserMgmt.ChangeUser4 (METH) ¶ METHOD ChangeUser4 : BOOL Changes on a user database. The edit type can be: VUM_MODIFY, VUM_ADD, VUM_REMOVE AND VUM_INSERT For runtime-based usermanagement VUM_ADD and VUM_INSERT do the same. InOut: Scope Name Type Comment Return ChangeUser4 BOOL Input pClientData POINTER TO VisuElems.VisuStructClientData It’s needed only in case of RTS-based user management dwUserDB DWORD It’s needed only in case of legacy user management pvumUserNew POINTER TO VUM_UserInternal The user data with new data pvumUserOld POINTER TO VUM_UserInternal The user data with old data udiIndex UDINT Index to use for user list (only for legacy. Needed for VUM_MODIFY, VUM_REMOVE AND VUM_INSERT) eEditType VUM_EditType Activity to do
VisuUserMgmt.GetUsers4 (METH) ¶ METHOD GetUsers4 : DWORD Gets the users InOut: Scope Name Type Comment Return GetUsers4 DWORD Input pClientData POINTER TO VisuElems.VisuStructClientData It’s needed only in case of RTS-based user management dwUserDB DWORD It’s needed only in case of legacy user management 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_UserInternal The user data which should be filled udiArrSize UDINT The size of the given user array
VisuUserMgmt.LogoutRts (METH) ¶ METHOD LogoutRts It does a logout in RTS InOut: Scope Name Type Input pClientData POINTER TO VisuElems.VisuStructClientData
VisuUserMgmt.Initialize (METH) ¶ METHOD Initialize : BOOL InOut: Scope Name Type Return Initialize BOOL Input parrUserGroups POINTER TO ARRAY [0..0] OF VUM_UserGroup parrUserGroupTextIds POINTER TO ARRAY [0..0] OF DWORD dwArraySize DWORD
VisuUserMgmt.LastResult (PROP) ¶ PROPERTY LastResult : UDINT
VisuUserMgmt.SetLastError (METH) ¶ METHOD SetLastError : BOOL InOut: Scope Name Type Return SetLastError BOOL Input udiLastError UDINT