Using SQLMembershipProvider how to store data
Using SQL Server 2000, SQLMembershipProvider and login controls. Wish to store additional properties for users in a Users table. I do not wish to use the Profiles API.
How do I store additional information in my Users table when the user is created?
How do I retrieve additional information from my Users table when the user logs in and has been authenticated?
I have created a UserID field in my Users table, datatype uniqueIdentifier to store the same value that is stored in the aspnet_Users.UserId field when a user is created. I just cannot figure out how to write the new record to my Users table when a user is created in the CreateUserWizard control.
Also, once a user logs in, how do I get the UserID
|