Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: need to list all user permissions

Re: need to list all user permissions

From: Snewber <s_at_s.com>
Date: Mon, 8 Nov 2004 14:00:43 +1000
Message-ID: <cmmr1d$f49$1@bunyip.cc.uq.edu.au>


This will probably get you started.

You would probably need to incorporate it into some PL/SQL code.

I don't know if you can run straight SQL to obtain every role granted to a user for every user in one SQL statement. For example, if for some stupid reason DBA was granted to CONNECT and CONNECT was granted to RESOURCE and RESOURCE was granted to two different people, could you find out if both users had the DBA privilege in one SQL query?

"Beldar Conehead" <beldarconehead_at_earthlink.net> wrote in message news:zm_id.5123$Gm6.1031_at_newsread3.news.atl.earthlink.net...
> I've been asked for a cross-matrix of users and their permissions.
>
> That is, for each user in the database I need to find the permissions
> he/she has against every table in the database. It makes no difference if
> permission has been granted explicitly, or thru a role, or thru a system
> privilege. Any body know of an existing script? Is there any combination
> of sys-owned tables (e.g. the $ tables) that would help me?
>
> Thanx.
>
Received on Sun Nov 07 2004 - 22:00:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US