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!

how to get windows login user name in oracle

XandotFeb 9 2016 — edited Feb 9 2016

Hi All,

select sys_context('USERENV','OS_USER') from dual;

Above query return nothing when I'm execute on apex. I want to assign current OS user name to one variable, Is there any other way to find out current OS user name ?

DB version:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

Apex:

Application Express 4.2.4.00.08

Thanks

Xandot

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2016
Added on Feb 9 2016
8 comments
3,273 views