Define 2 roles for our ASP.NET Core MVC 6.0 (Admin & Users). if we do not have registration and we are authenticating users using MS Identity Manager

john john 946 Reputation points
2023-02-04T16:07:03.08+00:00

I created a new ASP.NET Core MVC 6.0 web application >> and i define it to use Microsoft Identity Platform for authentication, as follow:-

enter image description here

enter image description here

so we do not manage or register users inside back-end. now we need to define all users to have "Users" role while certain users to have "Admin" role. so how we can do so? since we are not managing our users inside SQL ? can anyone advice what are the approaches we have? now we can manage defining users with Admin roles on the back-end only (without having views to manage this).. but not sure which approach we need to follow?

Thanks

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
622 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more