UserMgrObjectClearRights
(FUN)
FUNCTION UserMgrObjectClearRights : RTS_IEC_RESULT
This function clears all granted and denied rights for all groups on that object.
- InOut:
Scope
Name
Type
Comment
Return
UserMgrObjectClearRights
RTS_IEC_RESULT
- Error code
ERR_OK: Access rights could be cleared
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