UserMgrObjectGetGroupRights (FUN)
FUNCTION UserMgrObjectGetGroupRights : RTS_IEC_RESULT
Get the rights and the denied rights of a group on a specified object
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectGetGroupRightsRTS_IEC_RESULT- Error code
ERR_OK: Access rights could be retrieved
ERR_PARAMETER: Invalid handles
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
hObjectRTS_IEC_HANDLEHandle to the object
hGroupRTS_IEC_HANDLEHandle to the group which access rights are requested
Output
ulRightsDWORDRights of the group. See category “User rights” for details
ulDeniedRightsDWORDDenied rights of the group. See category “User rights” for details