TolliumUser::RevokeRightFromOn (open)
Revokes the specified object right on the specified object from another user. Throws on failure.
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
MACRO RevokeRightFromOn(STRING rightname, OBJECT grantee, INTEGER objectid, BOOLEAN onlyremovegrantoption, BOOLEAN allowselfassignment)Parameters
STRING rightnameRight to revoke
OBJECT granteeUser to revoke the right from
INTEGER objectidObject to revoke the right on (0 for a grant on all objects). Revoking the right on objectid 0 will only revoke a global grant, not grants on individual objects.
BOOLEAN onlyremovegrantoptionIf TRUE, only remove the grant option for this right
BOOLEAN allowselfassignmentIf TRUE, skip rights validation if this is a self assignment