How do I display user profile on the Profound screen?

Use this board for starting discussions, asking questions, and giving advice on RPG programming for the IBM i platform (and predecessors.)
dwrightgrinch
New User
Posts: 4
Joined: Mon Aug 01, 2011 1:10 pm
First Name: Donna
Last Name: Wright Walsh
Company Name: Genuine Parts Company
Phone: 770 850 2419
Address 1: 3100 Windy Hill Road
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30039
Country: United States
Contact:

How do I display user profile on the Profound screen?

Post by dwrightgrinch »

Hi everyone,
We've just started our first project using Profound.....

We want to get the real userID (iSeries user profile) , not the qtmhhttp user name on qhttpsvr subsystem. How would we do that?

Thanks, Donna Wright Walsh
Genuine Parts Company
770 850 2419
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: How do I display user profile on the Profound screen?

Post by Brian »

When running in a web environment, you must adjust your code to look at the "Current" user and not the "Job" user.

I assume you are attempting to use the PSDS at position 254 to retrieve the user. this is the Job user. You should instead use positions 358 through 367. This will contain the Current user.

Hope that helps.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest