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

Home -> Community -> Mailing Lists -> Oracle-L -> Finding out if user has connect through granted

Finding out if user has connect through granted

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Mon, 5 Jul 2004 16:51:46 +1000
Message-ID: <DF33C5D0C428FE4DBC8410FC2793EE7F0141BAE9@calbbsv025.cal.riotinto.org>


Hi,
I've searched the manual and Metalink and not found an answer on this. We're on 81745 under Windows 2000.

If users fred and bill exist and I've done:

alter user fred grant connect through bill;

how can I query a view to show this statement? eg - If I want to use a script to recreate the SQL to create the user?

It doesn't seem to be in dba_sys_privs or dba_role_privs which makes = some sense because it would need to store 2 items, you've got the priv = and who you've got it for - so there's probably a child table somewhere.

I've got showpriv.sql from Jacques Kilchoer but the version I have is = from Sep 1998 and doesn't include this, nor does the find_all_privs.sql = from Pete Finnigan (version 1.5) - but maybe I'm missing something.

For info, it seems that in 8i, these grants are lost on an import - bug = 2489566

Thanks,
Bruce Reardon

NOTICE: This e-mail and any attachments are private and confidential and = may contain legally privileged information. If you are not an = authorised recipient, the copying or distribution of this e-mail and any = attachments is prohibited and you must not read, print or act in = reliance on this e-mail or attachments. This notice should not be = removed.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Mon Jul 05 2004 - 01:48:42 CDT

Original text of this message

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