Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Pentaho 如何检索用户或管理员映像??如何清除CDA缓存?_Pentaho_Pentaho Data Integration_Pentaho Cde_Pentaho Report Designer - Fatal编程技术网

Pentaho 如何检索用户或管理员映像??如何清除CDA缓存?

Pentaho 如何检索用户或管理员映像??如何清除CDA缓存?,pentaho,pentaho-data-integration,pentaho-cde,pentaho-report-designer,Pentaho,Pentaho Data Integration,Pentaho Cde,Pentaho Report Designer,我是pentaho CDE设计的新手 如果用户或管理员登录pentaho仪表板 如果管理员已登录,则应显示其图像 或登录到的用户,其图像应使用会话ID显示 如何清除CDA缓存?首先要做的是检索已登录用户的上下文: 在组件中,您可以执行以下操作: 使用this.dashboard.context.user获取用户ID 获取用户角色的this.dashboard.context.roles:如果用户是管理员,则该数组将包含“Administrator” 然后,您可以加载并显示所需的图像。要做的第

我是pentaho CDE设计的新手

如果用户或管理员登录pentaho仪表板

  • 如果管理员已登录,则应显示其图像
  • 或登录到的用户,其图像应使用会话ID显示

如何清除CDA缓存?

首先要做的是检索已登录用户的上下文:

在组件中,您可以执行以下操作:

使用this.dashboard.context.user获取用户ID 获取用户角色的this.dashboard.context.roles:如果用户是管理员,则该数组将包含“Administrator”


然后,您可以加载并显示所需的图像。

要做的第一件事是检索已登录用户的上下文:

在组件中,您可以执行以下操作:

使用this.dashboard.context.user获取用户ID 获取用户角色的this.dashboard.context.roles:如果用户是管理员,则该数组将包含“Administrator”

然后,您可以加载并显示所需的图像