Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Where does SYS_CONTEXT('USERENV', 'OS_USER') get its value from?

user2353494Jun 10 2013 — edited Jun 11 2013

Hello all,

I'm working on a client-server application that uses ODBC to connect to an Oracle 11 database.  I use a dedicated account to connect to Oracle, and I get the users Windows login name using the call shown in the title.

My question is: where does Oracle get the value of the users Windows login name?  Is it coming from a windows registry key?  Environment variable?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2013
Added on Jun 10 2013
6 comments
798 views