I am designing a website, which has a login module.. here 3 users/persons (mainly) will be accessing the login page:
- Superadmin (domain owner)
- Local admin (under domain owner)
- Normal user (under local admin)
Where domain owner has rights over local admin & normal user, and local admin has rights over normal user..
Now, how can I differentiate the login type for the above users?
I have tried putting a dropdown, and adding the three members, but I don’t feel it looks good.
Any ideas of doing the above scenario?
In a normal website these would be handled as roles.
During user creation of later you assign roles to users.
Your login page only needs a user to enter username and password.
You could easily persist the user-role relationship in a database.
Asp.net has first class support for roles in the
RoleProviders.You can use roles to authorize which users have access to what parts of the website.
Refer: Creating and Managing Roles