title: WindowsPrincipal.IsInRole and universal vs. global active directory groups
body: <p>Does anybody know how to make <code>WindowsPrincipal.IsInRole("domain\role")</code> work with active directory universal groups?</p>
  
  <p>Let's say the current user is a member of a group called Role in a domain called domain, and that the Role group is a Global group in active directory.  The following code would then yield <strong><em>result = true</em></strong>:</p>
  
  <pre><code>WindowsPrincipal wp = new WindowsPrincipal(WindowsIdentity.GetCurrent());
  bool result = wp.IsInRole(@"domain\Role");
  </code></pre>
  
  <p>But if the Role group is changed to a universal group the code yields <strong><em>result = false</em></strong>.</p>