IIS 7 "account that is running application pool"
I need to find out which account is running one of my websites application pool. I need to add the user to a database in SQL Server. Using IIS Mana开发者_Go百科ger, is there a way to check?
The "Identity" column in the Application Pool area of IIS is the account.
If you're running asp.net a quick and dirty way is a helper aspx page like so:
<%@Page %>
IIS is running as :
<%=System.Security.:Principal.WindowsIdentity.GetCurrent().Name%>
精彩评论