WindowsPrincipal.IsInRole() is Being Flaky. Help!!

From: David Jessee (DavidJessee_at_discussions.microsoft.com)
Date: 03/10/05

  • Next message: Gareth: "Re: ASP.net web site authentication"
    Date: Thu, 10 Mar 2005 08:51:02 -0800
    
    

    Its just being inconsistent.

    I'm in 3 different Groups in AD.

    .IsInRole("Groupx") returns true
    .IsInRole("Groupy") returns true
    .IsInRole("Groupz") returns FALSE

    All of these groups reside in the same location in my AD tree, but for some
    reason, the one is returning False.

    even stranger, if I do a search for "Groupz" and list out its members
    (through DirectoryServices) my account information shows up.

    I have no idea why my account is in the group, but that lookup doesn't work
    for the group, but it dows for others.

    Ideas??
    Anyone??
    I'm not proud, I'll beg, I'll make cheesecake!


  • Next message: Gareth: "Re: ASP.net web site authentication"