ASPNET MVC3:我可以使用我的用户/角色表来处理用户身份验证吗? [英] ASPNET MVC3: Can I use my user/roles tables to handle user authentication?
本文介绍了ASPNET MVC3:我可以使用我的用户/角色表来处理用户身份验证吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建一个ASPNET MVC3应用程序;我已经在SQLServer DB上建立了我的用户,角色和user_roles表,并且我想使用它们而不是使用aspnet_regsql.exe构建的aspnet_ *表.
I'm building an ASPNET MVC3 app; I have built, on the SQLServer DB, my users, roles and user_roles tables andI would like to use them instead of the aspnet_* tables built by using aspnet_regsql.exe.
您知道这是否可行吗?如果可以,我可以通过哪种方式向表验证用户身份?
Do you know if is this possible and, if so, in which way I can authenticate my users towards my tables?
推荐答案
是的,您需要构建自定义的memberShip提供程序
这篇关于ASPNET MVC3:我可以使用我的用户/角色表来处理用户身份验证吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文