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 ___ Oracle DBA npower email:[EMAIL PROTECTED] = 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Re: Viewing current enabled roles
session_roles --- "Wilkes, Steve" <[EMAIL PROTECTED]> wrote: > 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:[EMAIL PROTECTED] > > = > 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 [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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). = Connor McDonald http://www.oracledba.co.uk (mirrored at http://www.oradba.freeserve.co.uk) "Some days you're the pigeon, some days you're the statue" Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: =?iso-8859-1?q?Connor=20McDonald?= INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).