VisuUserMgmt.FB_Init (METH) ¶ METHOD FB_Init : BOOL FB_Init is always available implicitly and it is used primarily for initialization. The return value is not evaluated. For a specific influence, you can also declare the methods explicitly and provide additional code there with the standard initialization code. You can evaluate the return value. InOut: Scope Name Type Comment Return FB_Init BOOL Input bInitRetains BOOL TRUE: the retain variables are initialized (reset warm / reset cold) bInCopyCode BOOL TRUE: the instance will be copied to the copy code afterward (online change)
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
VisuUserMgmt.EditUser (METH) ¶ METHOD EditUser : VUM_ReturnValues It edit the user data. It works with both legacy and runtime-based user management Only users of group ADMIN can edit other user. Following actions (eEditType) are possible: VUM_MODIFY, VUM_REMOVE, VUM_ADD and VUM_INSERT. (VUM_ADD and VUM_INSERT do the same for runtime-based usermanagement.) 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 EditUser VUM_ReturnValues Input pClient POINTER TO BYTE A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData pvumUserNew POINTER TO VUM_User3 The user data with new data. Needed for VUM_MODIFY, VUM_REMOVE, VUM_ADD and VUM_INSERT. pvumUserOld POINTER TO VUM_User3 The user data with old data, only needed for VUM_MODIFY. udiIndex UDINT Only for legacy Index to use for user list (for VUM_INSERT, VUM_MODIFY and VUM_REMOVE) eEditType VUM_EditType Activity to do
IVisuUserMgmt methods ¶ SetProvider (Method)
VisuUserMgmt.SetProvider (METH) ¶ METHOD SetProvider : BOOL InOut: Scope Name Type Return SetProvider BOOL Input itfVisuUserMgmtProvider IVisuUserMgmtProvider
IVisuUserMgmt2 ¶ CheckTemporaryLockedUser (Method) CheckUserWithTempLockout (Property) CurrentUserLockoutTime (Property)
VisuUserMgmt.CheckTemporaryLockedUser (METH) ¶ METHOD CheckTemporaryLockedUser : BOOL needed for restricted login settings Users, who are temporarily locked out, have to be checked and activated again after the set time InOut: Scope Name Type Return CheckTemporaryLockedUser BOOL
VisuUserMgmt.CheckUserWithTempLockout (PROP) ¶ PROPERTY CheckUserWithTempLockout : BOOL When a first user gets locked out, the login provider sets the value to true
VisuUserMgmt.CurrentUserLockoutTime (PROP) ¶ PROPERTY CurrentUserLockoutTime : INT A user is lockedout right now. Get/set the lockout time duration