Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Nested roles - PL/SQL proc
jeffbb88_at_hotmail.com (Jeff Bock) wrote in message news:<5b8b1052.0306040615.8f1bac6_at_posting.google.com>...
> Hi,
>
> I'm trying to determine what roles a user has been assigned (whether
> directly or indirectly), and it seems the only proper way to do it is
> through a recursive PL/SQL proc.
>
> I'm sure someone out there has already written one, and I would
> appreciate it if you could post it.
>
> Many thanks,
>
> Jeff
SELECT granted_role
FROM sys.dba_role_privs
WHERE grantee = '&User_Name';
Regards
/Rauf Sarwar
Received on Wed Jun 04 2003 - 14:50:44 CDT
![]() |
![]() |