Не удалось получить сведения о “члене ” из directorysearcher post deploy the ASP.NET ядро 2.1 в IIS
I am trying to create a method to check whether current user is in provided AD Group in asp.net core 2.1 web application, For that first I am getting all the ad groups of that user, where he is the member of, then checking whether provided ad group is there in the list or not. Everything is working fine in my local machine, but post I deploy this into IIS, this functionality is not working. It would be really helpful if anybody help me with it.
Что я уже пробовал:
Он отлично работает в visual studio, но не работает в IIS