Page 1 of 1

Username on Reports

Posted: Sat May 01, 2021 1:32 pm
by oli
Hi,

what is the easiest way to show the current username on a report?

BR,
Oli

Re: Username on Reports

Posted: Sat May 01, 2021 2:37 pm
by kev1n
One possibility: Set a Hash Cookie before running the Report.

Code: Select all

nuSetProperty('USER_NAME',nuUserName());
Depending on how you open the report, add true to set a global Hash Cookie

Code: Select all

nuSetProperty('USER_NAME',nuUserName(), true);
In a report label, add #USER_NAME#

Re: Username on Reports

Posted: Sat May 01, 2021 8:26 pm
by oli
Works perfect. Thanks a lot!