I a using MVC4 and the default member/user tables that come with it. I added a PhoneNumber column to the Membership table.
When I get a MembershipUser with Membership.GetUser() it has a property for things like Email. I would like to make it so MembershipUsers also have a property for the PhoneNumber column that i added. How would I go about doing this?
Thanks you in advance for all of your help.
You should probably use the Profile provider for this.
If you’d rather stick with Membership for this, you’re looking at creating a custom class deriving from MembershipUser, and a custom Membership provider to use it.