title: How to Get Security Roles of Another User in CRM 2013 Using Javascript
body: <p>Getting current (logged) user security roles from the context is trivial:</p>
  
  <pre><code>Xrm.Page.context.getUserRoles()
  </code></pre>
  
  <p>But I can't find an answer how to get the roles for another user by Id or Name? (Different from the user who is logged on currently)</p>