title: MS CRM 2011: How to get the associated entity-name for a privilege
body: <p>I'm retrieving a list of all privileges from CRM:</p>
  
  <pre><code>QueryExpression q = new QueryExpression("privilege") {ColumnSet = new ColumnSet(true)};
  
  var list = service.RetrieveMultiple(q).Entities;
  </code></pre>
  
  <p>This works fine.</p>
  
  <p>I would now like to know the entity-name every privilege applies to. I.e. the privilege "prvDeleteNote" applies to the entity "Note".</p>
  
  <p>This is no problem querying the database with SQL directly, but I would much prefer to retrieve the information from a service.</p>
  
  <p>Cheers</p>