Author: Eloco | Posted on: 8/27/2009 9:39:24 AM | Views : 244

Hello guys i need your help again,
I have been trying to find a way to install the default membership into my site and use the profile system to associate a particular user to a company.
The way i can see it without creating a custom membership provider (because i basiclly dont know how to do that)is to create a user normally and then ask for the company id in a profiles table then create a company table to link that also to.
So create admin user and manually add the company id into the profiles table for that user for the first user created in each company. ie user table-profiles-company table.
This then would enable me to use userid and companyid in session objects, but my difficulty is then allowing that admin user to create users for his/her company they would see the create user wizard and then i would like to prefill the companyid from the admin user into the new user's profile so that they are attached to that same company. This i dont know how to ...

Go to the complete details ...