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 (ENUM) where possible error reasons are described.
- InOut:
Scope
Name
Type
Comment
Return
EditUserVUM_ReturnValuesInput
pClientPOINTER TO BYTE
A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData
pvumUserNewPOINTER TO VUM_User3
The user data with new data. Needed for VUM_MODIFY, VUM_REMOVE, VUM_ADD and VUM_INSERT.
pvumUserOldPOINTER TO VUM_User3
The user data with old data, only needed for VUM_MODIFY.
udiIndexUDINTOnly for legacy Index to use for user list (for VUM_INSERT, VUM_MODIFY and VUM_REMOVE)
eEditTypeVUM_EditTypeActivity to do