title: Orchard cms - custom login module with users in another database
body: <p>Im evaluating orchard cms for my employer and just wanted to ask a question about login and membership.</p>
  
  <p>Our users and their roles are in another database which are exposed via an API and i would need to just get pointed in the right direction if it is possible to solve this in orchard.</p>
  
  <p>The users must be able to login on the orchard site and it will display different content depending on their role. The admins and editors will use the built in user db.</p>
  
  <p>What would be the correct way to solve this? Some kind of module or custom membership provider?</p>
  
  <p>Also, is it possible to set visibility rules in orchard admin for content based on the roles from the other external DB? </p>
  
  <p>Please do ask if you find something in my question confusing.</p>