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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Viewing current enabled roles

RE: Viewing current enabled roles

From: Steve Adams <steve.adams_at_ixora.com.au>
Date: Sun, 01 Apr 2001 16:56:07 -0700
Message-ID: <F001.002DDEB1.20010401164023@fatcity.com>

Hi Steve,

There is no way to find out which roles are enabled in a session, other than your own. The reason is that this information is kept in each session's UGA, and for dedicated connections the UGA resides in the PGA which is in private memory, not visible to the rest of the instance.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/

-----Original Message-----
Sent: Friday, 30 March 2001 19:20
To: Multiple recipients of list ORACLE-L

Hi,

I want to find out what roles are currently enabled for users logged on. The users are logging into Oracle from an application using a Web front end which issues 'set role ...' for them.

I know about default_role in dba_role_privs which shows what roles are set by default at logon. Also about dbms_session.is_role_enabled which is only useful for your own session. Neither of these give me the information I am after.

Any ideas?

Thanks,

Steve Wilkes



Oracle DBA
npower
email:steve.wilkes_at_npower.com

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify gpupower.co.uk or postmaster_at_npower.com

This outgoing e-mail (and any attachments) has been checked (using Sophos Sweep 3.43 + patches) before leaving us (UK 08457 353637), and has been found to be clean from any virus infection.


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Wilkes, Steve
  INET: steve.wilkes_at_npower.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steve Adams
  INET: steve.adams_at_ixora.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Apr 01 2001 - 18:56:07 CDT

Original text of this message

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