MS SQL 2005/2008: Identify current user
- by Torben H.
Hello
I have a web application, which is using a MS SQL 2005 database.
My problem is, that the application has no rolemanagement. So the application always accesses the database with one default user. But now I have to save and access a value only for the current user.
Is there any way to do this? Maybe something like a session on the webserver? The best way would be, if there is any possibility to access the current session id of the webserver from T-SQL.
Do anyone understand my problem? :)
Torben