Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Viewing current enabled roles
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
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
![]() |
![]() |