How to extend aspnet membership forms authentication tables?

拥有回忆 提交于 2019-11-30 20:30:41
StuartLC

You should use the Membership User Profile API to extend custom properties to your users, and not directly add columns to the aspnet_Membership and aspnet_Users tables.

You can also look at the SqlTableProfileProvider

And make sure you read Joel's and Colivier's posts here on how to create strongly typed profile classes.

If this is a Web Application project you will need to use a custom profile class as Profiles only come out of the box with the Website model:

http://www.codersbarn.com/post/2008/07/10/ASPNET-PayPal-Subscriptions-IPN.aspx

http://weblogs.asp.net/joewrobel/archive/2008/02/03/web-profile-builder-for-web-application-projects.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!