How do I get a current session value in Pentaho User Console 5.0 that we use to get using Pentaho Action Sequence (.xaction)?
You can use Dashboards.context and then :
Dashboards.context.user, Dashboards.context.roles, ...