GRANT role_name [,...] TO { user_name | role_name } [,...] [ WITH ADMIN OPTION ] [;]
Syntax Elements
- role_name
- One or more comma-separated names of roles to grant to specified users or other roles.
The system ignores duplicate role names.
- TO
- user_name
- role_name
- The names of role grantees.
- WITH ADMIN OPTION
- The role grantees have the privilege to use DROP ROLE, GRANT, and REVOKE statements to administer the specified roles.