Reputation: 46740
I am using the default .NET Membership Provider for user management in my site.
On creating a user I would like to set a first name and last name, as provided by the user. Any idea how I might do this?
Upvotes: 3
Views: 3562
Reputation: 4042
The easiest way is probably to use the built-in profile functionality in ASP.NET. Here's a good explanation of how it works within MVC specifically:
http://wiki.asp.net/page.aspx/1327/profile-provider-in-aspnet-mvc/
And here is the the MSDN article about profiles:
http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx
Upvotes: 2