Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Username on Reports

Questions related to nuBuilder Forte Reports and the Report Builder.
Post Reply
oli
Posts: 118
Joined: Sat Mar 20, 2021 3:22 pm
Has thanked: 4 times

Username on Reports

Unread post by oli »

Hi,

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

BR,
Oli
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: Username on Reports

Unread post 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#
oli
Posts: 118
Joined: Sat Mar 20, 2021 3:22 pm
Has thanked: 4 times

Re: Username on Reports

Unread post by oli »

Works perfect. Thanks a lot!
Post Reply