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