我在windows7 enterprise iis7.5上运行web应用程序。 我的webapp使用Windows身份验证和ASP.NET v4.0 applicationpool与identity=applicationpoolIdentity
。context.Request.ServerVariables [“LOGON_USER”]为空字符串
我想获得登录用户名context.Request.ServerVariables["LOGON_USER"]
,但它的字符串是空的。为什么?
谢谢。
请您可以使用标点符号,我已经为您修复了这次。 – 2011-04-07 14:24:52