title: GetGroups vs GetAuthorizationGroups
body: <p>When I am using GetGroups instead of GetAuthorizationGroup, it results fine but the later one retrieve none even if group exists for the given user. The code I have used as below:</p>
  
  <pre><code>string userName = "userid";
  
  PrincipalContext yourDomain = CurrentPrincipalContext;
  UserPrincipal user = UserPrincipal.FindByIdentity(yourDomain, userName);
  PrincipalSearchResult&lt;Principal&gt; groups = user.GetGroups();//user.GetAuthorizationGroups();
  List&lt;GroupPrincipal&gt; result = groups.Select(x =&gt; (GroupPrincipal)x).ToList();
  return result.Select(g =&gt; g.Name).ToList();
  </code></pre>
  
  <p>I can use GetGroups but the GetGroups method retrieve data in localhost but fetching none when pushed it into IIS 6.0 and thus I have to stick on GetAuthorizationGroups.</p>
  
  <p>Please help me out....</p>