Last post Jun 09, 2011 04:02 PM by cenk1536
Jun 07, 2011 03:17 PM|cenk1536|LINK
I am using .net framework4 and I would like to get users and roles from active directory.In my code behind I am checking roles as follows.
User.IsInRole(Domain\user)...What setting should I do to IIS (authenticated access) in order to make this work?Here is my web config:...
<authentication mode="Windows" />
</authorization>...Thanks in advance.Best Regards.
Jun 07, 2011 05:07 PM|bkotvis|LINK
In IIS in the Directory Security Tab / "Authentication and access control" fieldset you want to disable annonomous access and make sure Windows Authentication is checked.
Jun 09, 2011 04:02 PM|cenk1536|LINK
thanks so much