asp.net - Check under which account resources are accessed -


Is there any way how I can check the program, which user is used when my application resources Reaches?

I have a production system that can only use our administrator. Sometimes it is unclear what part of system is wrong: Let's say logging is not working. It is always possible that web.config is incorrect, but the directory is sometimes unreachable.

I'm not talking about User.Identity.

You can return the underlying system account that you are running:

  Answer  

Unless you are using impersonation, it should always be ASP.NET process user.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -