title: What is the best way to obtain the complete list of permission of a given user using AMO in C#
body: <p>I am using Visual Studio 2013(C#) and SSAS 2014 (through AMO). I need to prepare a list of permissions of a given user in the SSAS database. For example, domainName\userName has permissions on the 2 dimensions out of 5 available in the database. I like to prepare a list like this.</p>
  <blockquote>
  <p>Dimension Name | Attributes | Dimension used in Cube | VisualTotal | Mdx Set (if any) | Role Name</p>
  </blockquote>
  <p>I can loop through Roles and members and get some information. But it seems that it is a long shot and will not be performance friendly in the production environment.</p>