TolliumUser::GrantRightToOn (open)
Grants the specified object right on the specified object to another user. Throws on failure
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
MACRO GrantRightToOn(STRING rightname, OBJECT grantee, INTEGER objectid, BOOLEAN withgrantoption, BOOLEAN allowselfassignment, STRING comment)Parameters
STRING rightnameRight to grant
OBJECT granteeUser to grant the right to
INTEGER objectidObject to grant the right on (0 for all objects)
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