我正在使用 Visual Studio 2013(C#) 和 SSAS 2014(通过 AMO)。我需要在 SSAS 数据库中准备给定用户的权限列表。例如,domainName\userName 对数据库中可用的 5 个维度中的 2 个维度具有权限。我喜欢准备一个这样的 list 。
Dimension Name | Attributes | Dimension used in Cube | VisualTotal | Mdx Set (if any) | Role Name
我可以循环遍历角色和成员并获取一些信息。但似乎可能性不大,而且在生产环境中性能不友好。
最佳答案
尝试查看Analysis Services Stored Procedure Project和 BIDS Helper 。我还没有尝试过这些,但是,首先声明
"The following commands will extract information about roles, dimension permissions, attribute permissions and cube permissions and would allow for the complete documentation of the security settings."
第二个:
"To summarize all the security permissions granted via the roles instead of having to click into dozens of screens to find this information."
关于.net - 在 C# 中使用 AMO 获取给定用户的完整权限列表的最佳方法是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36654105/