Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two roles here, which contains 200 users in both of the roles, how can I modify the app owns data code so that I can establish relations for both of the roles with all the users??? How can edit the app owns data code here, I have been using the embedded sample for RLS, but I couldnt able to find how to use those users here is the sample of them:
generateTokenRequestParameters = new GenerateTokenRequest("View", null, identities: new List<EffectiveIdentity>
{ new EffectiveIdentity (username: "testA@mydomain.com",
roles: new List<string> {"RLS ClientID 256", "RLS Client ID 5"},
datasets: new List<string> {"4cb6c656-b437-4769-ae98-ac0e673635ce"}) });
}
I am trying to apply RLS, into my Apps own data scenerio, I have two roles here and various users attached those roles, I am using this (https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security), for applying roles in my code, but how can I edit this line (var generateTokenRequestParameters = new GenerateTokenRequest("View", null, identities: new List<EffectiveIdentity> { new EffectiveIdentity(username: "username", roles: new List<string> { "roleA", "roleB" }, datasets: new List<string> { "datasetId" }) });) in my code so that I can use both the roles together and when I enter username into my application (which is App own data) the users are able tosee there roles according to the roles which I declare in the roleA and role B, How can I achieve this.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |