相关
实现自定义会员资格提供商会员用户问题
扩展自定义成员身份提供程序
问题
- 如果我有不同的 SQL 表架构角色、个人资料我应该为每个“角色”、“成员资格”和“个人资料”创建自定义提供程序。我确信许多用户对默认实现提供的配置文件字段不满意。例如,下面的配置文件将需要不同的覆盖 MembershipProvider.CreateUser 因为我的不包含安全问题、状态等
表架构
FirstName
LastName
Initial
Address
Company
FacebookId
LastLogin
Related
Implementing Custom Membership Provider Membership User Issues
Extending a Custom Membership Provider
Question
- If i have different SQL table schema for Roles, Profiles should i create Custom Providers for each of these "Role","Membership" and "Profiles". I am definitely sure many users are unhappy with profile fields that default implementation provides. For example below Profile will require a different override of MembershipProvider.CreateUser because mine does not contain a security question, status etc.
table schema
FirstName
LastName
Initial
Address
Company
FacebookId
LastLogin
发布评论
评论(1)
您需要创建自己的自定义会员资格提供商,这样您就可以拥有您想要的任何内容,为此我将指出我自己的答案关于如何实现这一目标
You need to create your own Custom membership provider so you can have whatever you want, for that I would point to my own answer on how you can accomplish that