Topic by Chaitanya Nadig
Content
I was having difficulty using curAdminUser() function. I'm not sure if it isn't returning the correct value or if I'm using it wrongly. Please give me the correct usage of this function.
What I'm trying to do is retrieve the ID of the current logged in user who's running a particular report. I'm calling curAdminUser() in the custom scripts of a report. I've pasted the PHP code for the custom script. I've put this code in the initialization part of the custom script. In the process part, I'm setting the value of a column to be equal to the global variable $display.