Posted on: 9/10/2012 8:22:31 AM | Views : 217

Hi
I have a scenario where there is a superuser who can create company admins and company admin can create users under each company.
I have created the "Superuser" and "User" role manually. I am creating separate role for each company using the company's name as the role name. I have a userinfo table which contains the userid got from membership when I created the user and I am storing the companyid, obtained from the currently logged in company's provideruserkey, as foreign key in the userinfo table. Is this a correct way of handling this scenario. or is there any other way?
...

Go to the complete details ...