Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RE: Page.User.IsInRole True for AD group in VS.NET not true on samemachine once published

Reply
Thread Tools

RE: Page.User.IsInRole True for AD group in VS.NET not true on samemachine once published

 
 
wildman@noclient.net
Guest
Posts: n/a
 
      03-10-2008
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[False,True] and [True,True] --> [True, True]????? bdb112 Python 45 04-29-2009 02:35 AM
access variables from one Python session to another on the samemachine? Reckoner Python 2 06-10-2008 01:57 AM
Shocking Autobiography Published "Canada's Spies Attacked Me: A True Story of CSIS Terrorizing a Canadian Abroad" mgtimelogger@yahoo.com C Programming 0 05-02-2006 05:20 PM
Shocking Autobiography Published "Canada's Spies Attacked Me: A True Story of CSIS Terrorizing a Canadian Abroad" mgtimelogger@yahoo.com Digital Photography 1 05-01-2006 09:45 AM
Regex to match say char 't' exactly once in a string and no more than once Gancy Perl Misc 4 02-03-2005 02:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57