User.Identity.Name returning NT AUTHORITY\NETWORK SERVICE i want Domain\USER
- by Jalvemo
in my asp.net MVC project
i have an database connection with connectionstring:
Data Source=.;Initial Catalog=dbname;Integrated Security=True
All users can execute Stored Procedures on that connection and i want to log those users.
so after each execution I store "User.Identity.Name" to another database.
This work great on my development machine…