UserMgrGroupAddUser (FUN)
FUNCTION UserMgrGroupAddUser : RTS_IEC_RESULT
Add a user to a group in the user group database
- InOut:
Scope
Name
Type
Comment
Return
UserMgrGroupAddUserRTS_IEC_RESULT- Error code
ERR_OK: User could be added
ERR_NOMEMORY: No memory to add user to group
ERR_DUPLICATE: pszUserName is already added.
ERR_NO_OBJECT: Group name does not exist
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
Inout Const
pszGroupNameSTRINGName of the group
pszUserNameSTRINGName of the user