TolliumUser::UpdateRoleGrant (open)
Grant, update or revoke the a role. Throws on failure.
Syntax
LOADLIB "mod::tollium/lib/users.whlib";
MACRO UpdateRoleGrant(STRING action, INTEGER roleid, OBJECT grantee, RECORD options)
Parameters
STRING action
grant/update/revoke. update does not grant an ungranted role
INTEGER roleid
Authobjectid of the role to grant
OBJECT grantee
User to grant the right to
RECORD options
Options
STRING comment
If set, update the comment