Adds a role to a Cirro user or role. The user must be previously granted 'GRANT ROLE' permission.

Syntax

GRANT rolename
TO {username|rolename} ;

Arguments

  • rolename: A Cirro role.

  • username - Cirro user account name. Can be internal to CIRRO or an external Directory Service user.

Examples

Grant role to a user.

GRANT myRole1 TO myUser1;

Grant role to another role.

GRANT AccountingTeam TO HRUsers;

Grant cirro_admin and public to ad_role, an Active Directory role.

GRANT cirro_admin TO ad_role;
GRANT public TO ad_role;

See Also