VisuUserMgmt.FillLanguageGroupNames (METH) ¶ METHOD FillLanguageGroupNames : BOOL InOut: Scope Name Type Return FillLanguageGroupNames BOOL
VisuUserMgmt.FindUserByType (METH) ¶ METHOD FindUserByType : VUM_ReturnValues InOut: Scope Name Type Comment Return FindUserByType VUM_ReturnValues Input vumUserIn VUM_User The user to search for eEditType VUM_EditType The user edit type Output vumUser VUM_User The found user data udiIndex UDINT The index of the user in the user list
Utilities ¶ CopyVUM_User (Function) CopyVUM_User3 (Function) FilterErrorCode (Function) SwapByteArrayByWords (Function) UtilFillLanguageGroupNames (Function) VisuAssignRtsBasedUserMgt (FunctionBlock) FB_Exit (Method) FB_Init (Method) VisuCreateUserMgmtObjects (Function) VisuUserMgmtHasUserRightToChangeUsers (Function)
CopyVUM_User (FUN) ¶ FUNCTION CopyVUM_User : BOOL InOut: Scope Name Type Return CopyVUM_User BOOL Input pVUM_User POINTER TO VUM_User pVUM_UserInternal POINTER TO VUM_UserInternal xFromUserToInternal BOOL
CopyVUM_User3 (FUN) ¶ FUNCTION CopyVUM_User3 : BOOL Helper function: copy VUM_User3 from the interface library to VUM_UserInternal and vice versa InOut: Scope Name Type Return CopyVUM_User3 BOOL Input pVUM_User3 POINTER TO VUM_User3 pVUM_UserInternal POINTER TO VUM_UserInternal xFromUserToInternal BOOL
FilterErrorCode (FUN) ¶ FUNCTION FilterErrorCode : UDINT It filters some error codes This is necessary to avoid giving out some useful information to hackers. e.g. ‘incorrect password’ which also means ‘user is ok’. InOut: Scope Name Type Return FilterErrorCode UDINT Input error UDINT
SwapByteArrayByWords (FUN) ¶ FUNCTION SwapByteArrayByWords : BOOL InOut: Scope Name Type Return SwapByteArrayByWords BOOL Input pData POINTER TO ARRAY [0..20] OF BYTE dwSize DWORD
UtilFillLanguageGroupNames (FUN) ¶ FUNCTION UtilFillLanguageGroupNames : BOOL InOut: Scope Name Type Return UtilFillLanguageGroupNames BOOL Input parrUserGroupTextIds POINTER TO ARRAY [0..0] OF DWORD dwArraySize DWORD
VisuAssignRtsBasedUserMgt (FB) ¶ FUNCTION_BLOCK VisuAssignRtsBasedUserMgt FB used to inform the RTS about the type of visu user management set in the IEC application: visu or runtime based This information is passed to the RTS in FB_Init and FB_Exit Methods: FB_Exit FB_Init Structure: FB_Exit (Method) FB_Init (Method)
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