User, role, & privilege commands¶ User, role, and privilege commands enable you to manage your users, roles, and privileges. User management¶ CREATE USER ALTER USER DROP USER DESCRIBE USER SHOW USERS Database role management¶ CREATE DATABASE ROLE ALTER DATABASE ROLE DROP DATABASE ROLE SHOW DATABASE ROLES GRANT DATABASE ROLE REVOKE DATABASE ROLE GRANT DATABASE ROLE … TO SHARE REVOKE DATABASE ROLE … FROM SHARE Account-level role management¶ CREATE ROLE ALTER ROLE DROP ROLE SHOW ROLES USE ROLE USE SECONDARY ROLES GRANT ROLE REVOKE ROLE Privilege management¶ GRANT <privileges> … TO APPLICATION REVOKE <privileges> FROM APPLICATION GRANT <privileges> … TO APPLICATION ROLE REVOKE <privileges> FROM APPLICATION ROLE GRANT <privileges> REVOKE <privileges> GRANT <privilege> … TO SHARE REVOKE <privilege> … FROM SHARE GRANT OWNERSHIP GRANT CALLER REVOKE CALLER SHOW CALLER GRANTS SHOW GRANTS