I use Impersonate with LOGON32_LOGON_N EW_CREDENTIALS.
When I connect to the remote SQL Server it works fine, i.e. I see in profiler that new user connected.
But if I connect to local sql server it does not work, i.e. connection establishes for current user.
How to resolve this issue?
Thank you.
When I connect to the remote SQL Server it works fine, i.e. I see in profiler that new user connected.
But if I connect to local sql server it does not work, i.e. connection establishes for current user.
How to resolve this issue?
Thank you.