質問

Related

Implementing Custom Membership Provider Membership User Issues

Extending a Custom Membership Provider

Question

  1. 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
役に立ちましたか?

解決

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

Custom MembershipProvider in .NET 4.0

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top