I'm building a system where have 4 level login, there is 4 Entities involved.
System owner can create distributor login, distributor create agent login and agent create subagent login.
I have created 4 projects, each has their own login identity. But the problem is I cannot create Distributor login details from System Owner project. Do I need to merge all projects into 1? If yes, how can i separate these login for each entity?
any help will be greatly appreciated
You don't need to create four separate projects for each user. You can make this with in a single project.
You can manage pages and functionalities for each user type using Microsoft ASP.Net Identity 2.
I can explain the basic idea to do this.
Step 1
Create four Roles for each user.
Step 2
Create a same login page for all users.
Step 3
When a user login, identify his/ her role in our system.
Step 4
Redirect to home page based on logged in user's role.
Step 5
Dynamically generate menu for each user.
Step 6
Authenticate each functionality based on logged in user's roles.
That's it !!!