-2

I need a query which contains Oracle users with roles and privileges in one query

I Am using Oracle 11G

rene
  • 41,474
  • 78
  • 114
  • 152

1 Answers1

0

Of course roles can be granted to roles, granted to roles .... So if your intent is, as it seems, to see everything a given user has, regardless of directly granted or inherited through a role, through a role, through a role ... Then the definitive script is found at Pete Finnigan's site. See http://www.petefinnigan.com/find_all_privs.sql

EdStevens
  • 3,708
  • 2
  • 10
  • 18