UserMgrObjectSetGroupRights
(FUN)
FUNCTION UserMgrObjectSetGroupRights : RTS_IEC_RESULT
Set the access rights for the group at the specified object
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectSetGroupRights
RTS_IEC_RESULT
- Error code
ERR_OK: Access rights could be set
ERR_PARAMETER: Invalid handles
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUser
RTS_IEC_HANDLE
Handle to authorized user
hObject
RTS_IEC_HANDLE
Handle to the object
hGroup
RTS_IEC_HANDLE
Handle to the group
ulRights
DWORD
Rights of the group. See category “User rights” for details