GRANT ROLE
Syntax
GRANT ROLE role_name [, role_name...] {
TO USER user_email
| TO ROLE role_name [, role_name...]
};Description
Grants access to role(s) to a user or other role(s). This allows the user to USE ROLE and inherit all the privileges granted to the role.
The current role requires one of the following privileges:
Ownership of organization
MANAGE_MEMBERSprivilege on organizationOWNERprivilege on both parent and child roles (when granting to roles)
Arguments
role_name [, role_name...]
One or more roles to grant.
user_email
Email of the user when granting roles to a user.
role_name [, role_name...]
One or more roles that are granted the roles.
Examples
Grant role to a user
Grant role to another role
Last updated

