Hi, i need to create a membership provider for which each user has some of the basic data, like username email, password, etc...
But i also have some user roles, and based on those user roles i need to add custom data for each user,
for example i have a role thats called Doctors, in which i need to store info like doctor name, specializes in, works at, etc.
And i also have a role called Patients, for which i need to store the data: Patient name, age, address, medical background, etc...
So i want each of the roles to have its own table in the db, the question is, can i accomplish this if i build a custom profile provider?
Because i can't code these values in the web.config as they are not profile information for all of the users, each user has its own profile info based on his role.
Can anyone give me a push in the right direction?
Thanks.
...
Go to the complete details ...