GRANT ROLE statement
The GRANT statement assigns a role to a group.
Granting roles to a group
GRANT ROLE role_name TO GROUP group_name;
Syntax:
GRANT ROLE role_name TO GROUP group_name;Granting roles to a user
Syntax:
GRANT ROLE <role_name> TO USER <user_name>;
Example:
This example shows how to grant the grant_revoke_test_ALL_SERVER role to the getuser user.
GRANT ROLE grant_revoke_test_ALL_SERVER TO USER getuser;
