UserMgrGroupAdd (FUN)
FUNCTION UserMgrGroupAdd : RTS_IEC_RESULT
Add a group to user group database
- InOut:
Scope
Name
Type
Comment
Return
UserMgrGroupAddRTS_IEC_RESULT- Error code
ERR_OK: Group could be added
ERR_NOMEMORY: No memory to add group
ERR_DUPLICATE: pszGroupName is already added.
ERR_FAILED: Creating user or group lists failed
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
Inout Const
pszGroupNameSTRINGName of the group