Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Question regarding roles
Sorry Nuno, I didn't read your question carefully enough at first. As
Jacques said, you can't read active role information for other sessions with
regular methods, since this is session's private info.
However, depending what you want to do, you could use secure application roles and global contexts for achieving your goal. You define all your roles authenticated by a package - that way only this package can set the role for any session. And when the package sets the role, it also updates the corresponding clients global context attributes, which are globally readable within an instance.
Tanel.
> Darn!
>
> Cheers
> Nuno Souto
> in sunny Sydney, Australia
> dbvision_at_optusnet.com.au
> ----- Original Message -----
> From: "Jacques Kilchoer" <Jacques.Kilchoer_at_quest.com>
>
>
> > There's no way to tell which roles are currently enabled in another =
> > session.
> >
>
>
> ----------------------------------------------------------------
> 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
> -----------------------------------------------------------------
>
-- 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 Sat Feb 07 2004 - 05:36:25 CST
![]() |
![]() |