Page 1 of 1
ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 12:55 pm
by rjiron
I’m using profound (rich display file) and trying to get the Current user name out of the program status data structure from position see below, but neither of them works, in stead of, am getting the HTTP server name: QTMHHTTP1 any idea why?
D SDS
D PgmUser 358 367a
D PgmUser2 254 263a
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 1:02 pm
by akumar
The current user can be obtained from the SDS positions 358 367
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 1:18 pm
by rjiron
That’s what I doing, but am getting just the server name
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 1:39 pm
by Brian
Is this program running annonymously?
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 1:50 pm
by rjiron
Yes, is running annonymously
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 2:11 pm
by Brian
In the case of an anonymous program, the user does not log in to the server. Therefore the job runs as the default CGI user profile, which is normally QTMHHTP1.
Re: ProfoundUI (Current User Name)
Posted: Mon Jan 20, 2014 2:17 pm
by rjiron
Great!! That’s what I wanted to know. Thank you so much !!!.