1
Good morning. My doubt and the following I have the authentication part of my system made without using Membership or ASP.NET Identit. and wanted to make or use the method [Authorize] already picked up an example on google where I did the following
It will be easier if you provide snippets of code, and exemplify your doubt, than just putting prints from your screen. That way, there are more chances that someone will understand your problem and can help you.
– Caio Felipe Pereira
in case I wanted to know whether to use the Roleprovider class for authorization if to use Membership or ASP.NET Identit. Just using the simple authentication I’d already done. pq I want to define levels of access to certain user groups and already used the [Authorize] in the controller but then I can’t define a user for each local type admin and user. In my case every authenticated user accesses everything. and I want to limit this but do not know how...
– Davi Mayara F
in the excerpt "authorization to use Membership" is without using wrong!
– Davi Mayara F
The code is correct, but there is something strange in the configuration. I will try an answer.
– Leonel Sanches da Silva
if you want more information ... I place...
– Davi Mayara F