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 rightname
Right to revoke
OBJECT grantee
User to revoke the right from
INTEGER objectid
Object 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 onlyremovegrantoption
If TRUE, only remove the grant option for this right
BOOLEAN allowselfassignment
If TRUE, skip rights validation if this is a self assignment