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.
Create four Roles for each user.
Create a same login page for all users.
When a user login, identify his/ her role in our system.
Redirect to home page based on logged in user's role.
Dynamically generate menu for each user.
Authenticate each functionality based on logged in user's roles.
That's it !!!