Sunday, May 1, 2011

How to Find Out What Account ASP.NET is Running Under

You can find out what account your ASP.NET application is running under by simply executing the below code :
Response.Write(Environment.UserName)

No comments: