Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting windows username from Oracle Apex

641572May 27 2008 — edited Oct 14 2009
Hi there

Can anyone send me a worked example of how to retrieve your windows username in Oracle Apex.

I have tried various methods like

select sys_context('USERENV','PROXY_USER') from dual;
select sys_context('USERENV','OS_USER') from dual;
owa_util.get_cgi_env('REMOTE_USER'));

but they all return either the server name or my username as logged into Oracle Apex.

Any suggestion much welcome

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2009
Added on May 27 2008
10 comments
5,657 views