How to find the privileges and roles granted to a user in Oracle? [duplicate]

In addition to VAV’s answer, The first one was most useful in my environment

select * from USER_ROLE_PRIVS where USERNAME='SAMPLE';
select * from USER_TAB_PRIVS where Grantee="SAMPLE";
select * from USER_SYS_PRIVS where USERNAME = 'SAMPLE';

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)