iis - Active Directory authorization -


i have windows authentication. when user access application need check username windows , compare active directory group username , if username exists should show landing page else should redirect error page through web.config only. can me this. , impersonate in web.config?

worked after couple of trails.

to allow users under active directory groups should given within authorization tag.

<authentication mode="windows"/> <authorization> <allow roles="activedirectory1"/> <allow roles="activedirectory2"/> <deny users="*"/> </authorization> 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -