title: Authenticate and GetRoles of ActiveDirectory users in a disconnected WPF application via MembershipProvider
body: <p>I have a project requirement where I need to authenticate against ActiveDirectory in a remote/disconnected WPF application.</p>
  
  <p>There is probably several ways to attempt to do this, but what would be the best approach using ActiveDirectory's MembershipProvider?</p>
  
  <p>I need to:</p>
  
  <ol>
  <li>Authenticate that the user exists.</li>
  <li>obtain the AD user's groups and roles.</li>
  </ol>
  
  <p>This needs to happen from a remote location, outside of the network Active Directory resides on.</p>