Click here to Skip to main content
16,018,904 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Buenas he buscado en internet pero no he dado con lo que necesito
He creado 3 grupos de AD en mi dominio de la empresa Grupo 1, Grupo 2 y Grupo3 para manejar por los grupos los autorizos dentro de mi aplicacion web con net core5 y con Identity.
No se como configurar mi clase Startup para que use esos grupos ni que otra configuración hacer para usar los decoradores de [Authorize(Roles = "Grupo1")]

Les agradezco de antemano cualquier ayuda, Gracias

Translated:
Good I have searched on the internet but I have not found what I need
I have created 3 groups of AD in my domain of the company Group 1, Group 2 and Group3 to manage by the groups I authorize them within my web application with net core5 and with Identity.
I don't know how to configure my Startup class to use those groups or what other configuration to do to use the decorators of [Authorize(Roles = "Group1")]

I thank you in advance for any help, Thank you

What I have tried:

I have no idea how to make the configurations to use the gupos in net core

What I have tried:

I have no idea how to make the configurations to use the gupos in net core

Translated:
I have no idea how to make the configurations to use the gupos in net core
Posted
Updated 13-Dec-21 23:21pm
v2

1 solution

You can try this NuGet package, but I have no experience with it.

NuGet Gallery | Galactic.ActiveDirectory 1.3.0.499[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900