开发者

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%>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜