.net - 在 C# 中使用 AMO 获取给定用户的完整权限列表的最佳方法是什么

标签 .net permissions ssas dimension amo

我正在使用 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 ProjectBIDS 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/

相关文章:

c# - 带有数据绑定(bind)的 DataGridView - 新行未显示

c# - 如何知道在构建中使用哪个 cpu(x86 x64 或 AnyCpu)?

ios - Swift 请求用户访问照片库的权限

sql-server - SQL Server IDE 中 MDX 查询图标的含义

sql-server - MDX:IIf 维度值的条件始终为假

c# - .Net Winforms 通知所有打开的窗口

c# - Linux 上的 Mono 和缺少方法异常

android - 如何以编程方式在 MIUI 设备中打开应用程序权限设置?

powershell - 通过PowerShell许可注册表

asp.net-mvc - 在 ASP.NET MVC 中动态检索 Analysis Services (SSAS) 多维数据集的最佳选择