UserMgrGroupAdd (FUN)ΒΆ
FUNCTION UserMgrGroupAdd : RTS_IEC_RESULT
Add a group to user group database
- InOut:
- Scope - Name - Type - Comment - Return - UserMgrGroupAdd- RTS_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 - hUser- RTS_IEC_HANDLE- Handle to authorized user - Inout Const - pszGroupName- STRING- Name of the group