TolliumUser::GrantRoleTo (open)

Grants a role to a user

Syntax

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

MACRO GrantRoleTo(OBJECT roleobj, OBJECT grantee, RECORD options)

Parameters

OBJECT roleobj

Role to grant

OBJECT grantee

User object to grant this role to

RECORD options

Options

comment

Comment for this grant

grantoruserdata

Userdata of the grantor for logging