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

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
chris_rover
Profound User
Posts: 88
Joined: Tue Jun 01, 2010 11:31 am
First Name: christopher
Last Name: williams
Company Name: banks dih limited
Phone: 592-226-9584
Address 1: thirst park
Address 2: ruimveldt
City: gerogetown
State / Province: Outside Canada/USA
Zip / Postal Code: 0000
Country: Guyana
Contact:

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

Post 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?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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.
chris_rover
Profound User
Posts: 88
Joined: Tue Jun 01, 2010 11:31 am
First Name: christopher
Last Name: williams
Company Name: banks dih limited
Phone: 592-226-9584
Address 1: thirst park
Address 2: ruimveldt
City: gerogetown
State / Province: Outside Canada/USA
Zip / Postal Code: 0000
Country: Guyana
Contact:

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

Post by chris_rover »

Thanks, they both worked just fine
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests