TolliumUser::GrantRightTo (open)
Grants the specified global right to another user. Throws on failure.
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
MACRO GrantRightTo(STRING rightname, OBJECT grantee, BOOLEAN withgrantoption, BOOLEAN allowselfassignment, STRING comment)Parameters
STRING rightnameRight to grant
OBJECT granteeUser object to grant the right to.
BOOLEAN withgrantoptionWhether to grant the right with the right to grant it to other users
BOOLEAN allowselfassignmentIf TRUE, skip rights validation if this is a self assignment
STRING commentComment for this grant