Answer the question
In order to leave comments, you need to log in
How to create authorization or override User Identity Asp.Net MVC?
Good afternoon. Just started learning ASP.NET MVC.
There was a question of authorization. I ran the example in the studio, I didn’t understand anything what was actually being done there. Googling on User Identity didn't help.
Goal: you need to create access to the controller only for certain roles. Oddly enough, I did not find an example - "do this-> get it"
Questions:
-Where is the reference to the tables? because I saw tables AspNetUsers and others. I don't need to encrypt the password (admins should see it).
-Is there a site that shows the process from A to Z, how do I log in and override the table fields or even change this core?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question