In Oracle, how to get a list with the names of schemas that a user has read permission

oracle-11g-r2schema

In Oracle, i need list which schemas a particular database user (or the current database user) has read permission.

Based on this information, also need to get all the tables and views are in each schema, provided that the particular database user has read permission.

Best Answer

you can use the following command if you want to see the users that has X privilege for example SELECT ANY TABLE privileges

SELECT * FROM USER_ROLE_PRIVS WHERE GRANTED_ROLE like '%SELECT ANY TABLE%';