Search code examples
pentahopentaho-ctools

Get Session using CTools in Pentaho User Console 5.0


How do I get a current session value in Pentaho User Console 5.0 that we use to get using Pentaho Action Sequence (.xaction)?


Solution

  • You can use Dashboards.context and then :

    Dashboards.context.user, Dashboards.context.roles, ...