Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Get username while using "Integrated Security=true"?

$
0
0

Hi,

I'm stuck with some weird issue of permission on database/table in SQL server. There is one WCF service running on IIS and contains code to connect to database. We are using "Integrated Security=true" in connection string. I tried to read through connection's properties to get username but no success yet. Issue is due to impersonation so I want to make sure which identity is being used in actual to make connection to database.

How to get username being used to connect to database while using "Integrated Security=true"?

Thanks.



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>