title: Embedded Power BI: Add Multiple Users in Row Level Security and assign different roles
body: <p>I have downloaded App Owns Data from github - <a href="https://github.com/Microsoft/PowerBI-Developer-Samples" rel="nofollow noreferrer">https://github.com/Microsoft/PowerBI-Developer-Samples</a>. I have added Row Level Security by adding the following line:</p>
  
  <pre><code>generateTokenRequestParameters =  new GenerateTokenRequest("View", null, 
         identities: new List&lt;EffectiveIdentity&gt;{new EffectiveIdentity(username: "username", roles: new List&lt;string&gt; { "Role A"}, datasets: new List&lt;string&gt; { report.DatasetId })});
  </code></pre>
  
  <p>Currently, I can add only one username at a time. Is there any way using which I can multiple users and assign different roles to them?
  Any help is appreciated! </p>