Forum Discussion
Clampazzo
2 years agoResolver I
Can I add a role for RLS Using XMLA Endpiont and C#?
I have managed to create a new semantic model using XMLA Endpoint and C# but now I need to be able to create Roles for RLS using the same method. Is this allowed? And if so How can I go about doing...
GilbertQ
2 years agoSuper User
Hi Clampazzo
What I would do is to connect to the XMLA endpoint using tablet editor and create the roles using tabler editor. It would be a lot quicker and efficiently create your role and give them as working as expected.
Clampazzo
2 years agoResolver I
Thanks for the reply GilbertQ , while that would be easy to do I need to dynamically create these datasets. They will all be DirectQuery but I am creating a new dataset (sometimes multiple) per client workspace. So going in manually later would be difficult to do.
If there's a way to copy a template dataset and then modify it using xmla (while keeping roles) that would be acceptable too.