i believe that this is going to return the user that is running the IIS service on the web server, which in my case is the same for all users. so i have a user, user abc, that logs into my web server. the web server authenticates user abc against the domain server. then it allows the user to access the application which uses a service to log into the database. the service is run by userService and the database name is userDatabase for all users. so if i run the above for userDatabase i always get userService when what i'm wanting is to get all the way back to userabc. does that make sense?
Main Topics
Browse All Topics





by: jrb1Posted on 2005-07-12 at 13:31:07ID: 14425291
I think this will give you the user ID you are looking for:
USER')
sys_context('USERENV','OS_