IVisuUserMgmt3.CheckAdminRights (METH) ¶ METHOD CheckAdminRights : VUM_UserAdminAccess It checks what kind of administrator rights the current user has InOut: Scope Name Type Return CheckAdminRights VUM_UserAdminAccess Input pClientData POINTER TO VisuElems.VisuStructClientData
IVisuUserMgmt3.CheckGroups (METH) ¶ METHOD CheckGroups : BOOL It checks if all teh groups have the correct mapping It returns TRUE for NOT correct groups configuration InOut: Scope Name Type Return CheckGroups BOOL Input pClientData POINTER TO VisuElems.VisuStructClientData
IVisuUserMgmt3.GetUserCount3 (METH) ¶ METHOD GetUserCount3 : UDINT Gets the number of users InOut: Scope Name Type Comment Return GetUserCount3 UDINT 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 Output result RTS_IEC_RESULT
IVisuUserMgmt3.GetUsers3 (METH) ¶ METHOD GetUsers3 : DWORD Gets the users InOut: Scope Name Type Comment Return GetUsers3 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_User The user data which should be filled udiArrSize UDINT The size of the given user array
IVisuUserMgmt3.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 (ITF) ¶ INTERFACE IVisuUserMgmt4 EXTENDS IVisuUserMgmt3 Properties: CheckUserWithTempLockout , inherited from IVisuUserMgmt2 CurrentUserLockoutTime , inherited from IVisuUserMgmt2 LastResult , inherited from IVisuUserMgmt State , inherited from IVisuUserMgmt Methods: ChangeUser4 GetUsers4 LogoutRts ChangeUser , inherited from IVisuUserMgmt ChangeUser3 , inherited from IVisuUserMgmt3 ChangeUserPassword , inherited from IVisuUserMgmt ChangeUserPassword3 , inherited from IVisuUserMgmt3 CheckAdminRights , inherited from IVisuUserMgmt3 CheckGroups , inherited from IVisuUserMgmt3 CheckLoginIntern , inherited from IVisuUserMgmt CheckTemporaryLockedUser , inherited from IVisuUserMgmt2 FillLanguageGroupNames , inherited from IVisuUserMgmt GetCurrentUser , inherited from IVisuUserMgmt GetGroupCount , inherited from IVisuUserMgmt GetGroupFromID , inherited from IVisuUserMgmt GetGroupIDFromIndex , inherited from IVisuUserMgmt GetGroupIndexFromID , inherited from IVisuUserMgmt GetLastError , inherited from IVisuUserMgmt GetTextIdFromGroupID , inherited from IVisuUserMgmt GetUserCount , inherited from IVisuUserMgmt GetUserCount3 , inherited from IVisuUserMgmt3 GetUserDBAsCopy , inherited from IVisuUserMgmt GetUsers , inherited from IVisuUserMgmt GetUsers3 , inherited from IVisuUserMgmt3 LoginRts , inherited from IVisuUserMgmt3 RegisterExternalUserDatabaseProvider , inherited from IVisuUserMgmt SetLastError , inherited from IVisuUserMgmt SetNewUserDB , inherited from IVisuUserMgmt SetProvider , inherited from IVisuUserMgmt Structure: ChangeUser4 (Method) GetUsers4 (Method) LogoutRts (Method)
IVisuUserMgmt4.ChangeUser4 (METH) ¶ METHOD ChangeUser4 : BOOL Changes on a user database. The edit type can be: VUM_MODIFY, VUM_ADD, VUM_REMOVE AND VUM_INSERT 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 eEditType VUM_EditType Activity to do (only for legacy)
IVisuUserMgmt4.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
IVisuUserMgmt4.LogoutRts (METH) ¶ METHOD LogoutRts It does a logout in RTS InOut: Scope Name Type Input pClientData POINTER TO VisuElems.VisuStructClientData
IVisuUserMgmtProvider (ITF) ¶ INTERFACE IVisuUserMgmtProvider Methods: SetUserCount SetUserDB SetUsers Structure: SetUserCount (Method) SetUserDB (Method) SetUsers (Method)