title: How to get all users in a role including roles in roles?
body: <p>I have a Sitecore site that uses the AD module for connecting to an Active Directory.  Let's say that we have a Role defined in Sitecore called "Content Authors".  Content Authors may contain individual user accounts - "jsmith" - or it might contain an entire AD Group - "Northeast Managers".  I need to get a list of all users who are in the "Content Authors" role, either directly or indirectly (through an AD group).  Right now my code only seems to be  returning users that are directly a member of the "Content Authors" role.  Here is my code:</p>
  
  <pre><code>string[] _roleUserNames = System.Web.Security.Roles.GetUsersInRole("Content Authors");
  </code></pre>
  
  <p>I was assuming that this code would return the "effective" list of everyone who is in that role.  It seems to only return people who are directly in that role.  Does anyone know if there is some other way of getting everyone in a role?</p>