[英]SSAS : How to generate a csv of all the users having access to a cube?
I need to compare the users listed in a file with the users having access to a certain cube to check which to add and which to remove so it checks out.我需要将文件中列出的用户与有权访问某个多维数据集的用户进行比较,以检查要添加哪些内容以及要删除哪些内容,以便检查出来。 Problem is, there are about 1000 users, so I'm not gonna be able to do it one by one.问题是,大约有 1000 个用户,所以我无法一一完成。 Is there a quick way to generate a CSV of all the users of the cube so I can work some Python magic and get the overlap / difference easily ?有没有一种快速的方法来生成多维数据集所有用户的 CSV 文件,以便我可以使用一些 Python 魔法并轻松获得重叠/差异?
If you are not so much into querying XML-Files, here is a pretty simple workaround of how to get your list: - Go to your favourite Editor (Notepad++, etc.) and remove everything except the lines with < Name >.如果您不太喜欢查询 XML 文件,这里有一个非常简单的方法来获取您的列表: - 转到您最喜欢的编辑器(Notepad++ 等)并删除除带有 <Name> 的行之外的所有内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.