TolliumUser::RevokeRightFrom (open)

Revokes the specified global right from another user. Throws on failure.

Syntax

LOADLIB "mod::tollium/lib/users.whlib";

MACRO RevokeRightFrom(STRING rightname, OBJECT grantee, BOOLEAN onlyremovegrantoption, BOOLEAN allowselfassignment)

Parameters

STRING rightname

Right to revoke

OBJECT grantee

User object to revoke the right from.

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