sl0703
3/15/2007 6:16:00 PM
My objective is to register the Windows-LogonID in audit trail, but at
this point the application is using a SQL-userID. From searching this
group, it seems impossible to get the Windows-ID as a variable in the
SQL server if connected with SQL-userID - so I'm trying to find
alternative.
Question: Is it possible to pass a variable via the connection string
that could be read by triggers/stored-procedures on the server during
that connection?
Or does anyone have and idea how to resolve this objective, while
keeping the connection via SQL-login?
Thanks, Shraga