标签: asp.net-mvc authorization windows-authentication
我目前正在构建一个只需要某些用户访问的ASP.NET MVC应用程序。我正在使用Windows身份验证,我想授予User.Identity.Name与LogonID表中的AdminUsers匹配的用户的访问权限。我想知道的是最好的方法是什么?
User.Identity.Name
LogonID
AdminUsers
如果您需要更多信息,请不要犹豫。
提前致谢