AnsweredAssumed Answered

How to get current user in a BIRT report ?

Question asked by fb23121 on Feb 10, 2017
Latest reply on Apr 3, 2017 by fb23121

Hi,

When you run a course report, the database pk1 for the course (course_main.pk1) is made available to you as long as you create a report parameter called param#course#id. Cf. birtb2s [licensed for non-commercial use only] / Passing Parameters

I'm wondering if there is a similar kind of parameter to get the current user pk1 that is logged and running the report.

It is in order to provider system report filtered by the node(s) on which the user has an admin role.

We excluded to let the user choose among the list of nodes in a combo list because we don't want him to have this report run on other nodes on which he has no admin role.

Or if you have another solution.

Thanks in advance

Franck Buland

Outcomes