【发布时间】:2014-11-25 17:13:52
【问题描述】:
我使用 Windows 身份验证对用户进行身份验证,并且该应用程序由另一个用户运行,使用此链接 http://weblogs.asp.net/owscott/iis-using-windows-authentication-with-minimal-permissions-granted-to-disk ,我让后端的应用程序由服务帐户运行。 当我使用 User.Identity.name 时,我得到的是运行应用程序的用户,而不是经过身份验证的用户。如何获取经过身份验证的用户的用户身份?
【问题讨论】:
-
匿名认证真的被禁用了吗?听起来它还在继续。
标签: asp.net-mvc-5 windows-authentication