title: User/Group Permissions in Active Directory
body: <p>Where can I find an example that does the following?</p>
  
  <ol>
  <li>Pulls a user from Active Directory.</li>
  <li>Gets the groups the user is a member of.</li>
  <li>Gets a list of permissions assigned to each group.</li>
  </ol>
  
  <p>This seems like a simple task but I can't find a solution.</p>
  
  <p>The overall goal is to assign custom permissions and use them to control rights within an application.</p>