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
UserMgrObjectClearRightsRTS_IEC_RESULT- Error code
ERR_OK: Access rights could be cleared
ERR_PARAMETER: Invalid handles
ERR_NO_ACCESS_RIGHTS: User not authorized
Input
hUserRTS_IEC_HANDLEHandle to authorized user
hObjectRTS_IEC_HANDLEHandle to the object