views:

202

answers:

1

I am using SqlMemberShipProvider and it works well, but I wish that the MembershipUser had some additional properties such as FirstName, LastName, Phone Number, etc. What is the best way to go about this? Do I have to create a custom membership provider or is there a better way to add additional functionality to users?

+3  A: 

Additional information about a user is exactly what the ProfileProvider is for. You can specify in the web.config file what extra properties you want and the default provider (SqlProfileProvider if you're going to keep with your current use of SQL) will handle the persistence for you.

Here's a link for how to build the sample.

Timothy Walters
Thanks, I will take a look.
Craig