R
R
Roman Rakzin2015-07-13 16:04:26
ASP.NET
Roman Rakzin, 2015-07-13 16:04:26

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

1 answer(s)
Y
Yuri, 2015-07-13
@Gilga

There is in English about WebApi.
Authorization Identity
Extension UserIdentity
Separation of rights

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question