How To Check the Grants on a User
Run this query in SQL Developer. You’ll be prompted for the user when you run the query. Alternatively run the query in
sqlplus but substitute a string in place of :the_user
variable.
1SELECT GRANTEE, PRIVILEGE
2 FROM sys.dba_sys_privs
3 WHERE grantee = :the_user
4UNION
5SELECT GRANTEE, PRIVILEGE
6 FROM dba_role_privs rp JOIN role_sys_privs rsp ON (rp.granted_role = rsp.role)
7 WHERE rp.grantee = :the_user;