DatabaseDude
Programmer
I have SQL Server set up for logins via Windows authentication and "use trusted connection."
However, CURRENT_USER always returns 'dbo' rather than the person's true login name.
Any way to capture that value? Something differently I should be doing with connection string?
However, CURRENT_USER always returns 'dbo' rather than the person's true login name.
Any way to capture that value? Something differently I should be doing with connection string?