You could use System.Security.Principal.WindowsIdentity.GetCurrent().Name
to identify the Identity in which the current application is running. This link provides a nice utility which displays the identity under which the aspx is run.
More Related Contents:
- Restarting (Recycling) an Application Pool
- Cannot open database “test” requested by the login. The login failed. Login failed for user ‘xyz\ASPNET’
- How to get the current user in ASP.NET MVC
- Access to the path is denied
- ASP.NET Core 1.0 on IIS error 502.5
- CSS, Images, JS not loading in IIS
- Error – Unable to access the IIS metabase
- An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode
- What exactly happens when I set LoadUserProfile of IIS pool?
- The breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight application
- System.Data.SqlClient.SqlException: Login failed for user
- IIS WCF service hosting vs Windows Service
- Changing project port number in Visual Studio 2013
- How to detect IIS version using C#?
- Check ssl protocol, cipher & other properties in an asp.net mvc 4 application
- IIS 7.5 application pool uses wrong %APPDATA% for custom user as identity
- Reading cookie value : Using URL Rewrite Provider module – Unable to validate at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData
- asp.net MVC: How to redirect a non www to www and vice versa
- ASP.NET Core 1.0 on IIS error 502.5 – Error Code 0x80004005
- How can I secure passwords stored inside web.config?
- Programmatically create a web site in IIS using C# and set port number
- Access to the path is denied when saving image
- Share Session between two web sites using asp.net and state server
- IIS app pool recycle + quartz scheduling
- I’ve been hacked. Evil aspx file uploaded called AspxSpy. They’re still trying. Help me trap them‼
- Leverage browser caching in IIS (google pagespeed issue)
- IIS 7.5, Web Service and HTTP 405 error
- Could not load file or assembly ‘System.Web.Helpers, error on IIS 8
- ASP.NET Core – Authorization Using Windows Authentication
- Can I reuse HttpWebRequest without disconnecting from the server?