Page 1 of 1

I need to retrieve the user id of someone using a profoundui

Posted: Wed Mar 23, 2011 11:35 am
by chris_rover
Hi guys,
our system uses the user id of the person using the programs to handle authority settings. we are running the programs through Atrium, therefore the user will log on to the IBM i through that. how can we get, in any way, the user id from the profound ui application?

Re: I need to retrieve the user id of someone using a profoundui

Posted: Wed Mar 23, 2011 12:09 pm
by David
When running PUI applications through Atrium, you must set up the menu option as a "Rich Display File Application", and then supply the library and program name.

This will launch Profound UI to this program, using the OS/400 profile that was used to sign into Atrium.

In the application, you would get the user profile using the "current user" field of the PSDS in RPG, or the CURUSER parameter of the RTVJOBA command.

Re: I need to retrieve the user id of someone using a profoundui

Posted: Wed Mar 23, 2011 2:58 pm
by chris_rover
Thanks, they both worked just fine