Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can I get logged in user name from within a stored procedure?
Jonathan Gennick <jonathan_at_gennick.com> wrote in message
news:37c958b8.1084779_at_netnews.worldnet.att.net...
> Does anyone know a good way to get the name of the currently
> logged in user from within a stored procedure? The USER
> function always returns the name of the procedure's creator.
> Is there a way around this? I'm using Oracle8, not 8i.
>
> Jonathan
The USER function in a procedure will return the current user, not the owner of the procedure. Received on Tue Aug 31 1999 - 09:01:52 CDT