RE: Page.User.IsInRole True for AD group in VS.NET not true on same
machine once published
This is Odd. I have an an AD group on my domain. I am able to restrict
diretory access via the web config allow roles pointing to it.
And my master page codebehind, I can test isinrole while in VS and
works great. This statement being false.
If Not (Page.User.IsInRole("mydomain\myADgroup")) Then
However if I publish the site to my local machine and run it from
there the above statement is true. I checked IIS and it's configure
with annoymous and Integrated security as expected.
Thanks for any help or information.
|