在 SharePoint 服务器中使用 Analysis Services EffectiveUserName

 

**上一次修改主题:**2017-07-07

**摘要:**使用Excel Services 或 PerformancePoint Services 中的 EffectiveUserName 选项对每位用户进行 Analysis Services 数据源身份验证。

EffectiveUserName是用户的SQL Server Analysis Services连接字符串属性包含报表或面板正在访问的名称。在SharePoint Server,您可以使用此属性与Excel Services或PerformancePoint Services一起将正在查看的报表或仪表板,以SQL Server Analysis Services的用户身份。这允许每个用户标识,而无需配置 Kerberos 委派。

启用在 Excel Services 在 SharePoint Server 2013 EffectiveUserName

若要将 EffectiveUserName 功能与 Excel Services 结合使用,需要满足以下条件:

  • Excel Services 应用程序池帐户必须是 Analysis Services Administrator。

  • 您必须在 Excel Services 全局设置中启用 EffectiveUserName 选项。

  • 您必须在 Excel 的 Excel Services 身份验证设置中选择"使用经过身份验证的用户的帐户"选项。

使用下列过程可在 Excel Services 中启用 EffectiveUserName 功能。

若要使 Excel Services 中 EffectiveUserName

  1. 在管理中心的"应用程序管理"部分,单击"管理服务应用程序"。

  2. 单击 Excel Services 服务应用程序。

  3. 单击"全局设置"。

  4. 在"Excel Services 应用程序设置"页上的"外部数据"部分,选中"使用 EffectiveUserName 属性"复选框。

  5. 单击"确定"。

要更详细地了解如何在 Excel Services 中使用 EffectiveUserName,请参阅将 EffectiveUserName 与 Excel Services 结合使用 (SharePoint Server 2013)

在 PerformancePoint Services 中启用 EffectiveUserName

使用PerformancePoint Services的 EffectiveUserName 功能有以下要求:

  • PerformancePoint Services应用程序池帐户必须是Analysis Services管理员。

  • 您必须在 PerformancePoint Service 应用程序设置中启用 EffectiveUserName 选项。

  • 在 PerformancePoint 仪表板设计器中创建数据源时,您必须选择"每用户标识"选项。

备注

EffectiveUserName 功能无法与 Power Pivot 数据源结合使用。

备注

如果您使用一个连接字符串创建数据连接,并且该连接字符串包含有效用户字段,则 EffectiveUserName 功能将使用系统提供的值重写用户提供的有效用户值。

使用以下过程启用PerformancePoint Services中的 EffectiveUserName 功能。

若要启用 EffectiveUserName PerformancePoint Services 中

  1. 在管理中心的"应用程序管理"部分,单击"管理服务应用程序"。

  2. 单击PerformancePoint Services服务应用程序。

  3. 单击"PerformancePoint Service 应用程序设置"。

  4. 在"PerformancePoint Service 应用程序设置"页上,选中"使用 EffectiveUserName 连接字符串属性而不是 Windows 委托"复选框。

  5. 单击"确定"。

在PerformancePoint Services中使用 EffectiveUserName 更详细地了解,请参阅在 PerformancePoint Services 中使用 EffectiveUserName