Change current user LWEB_JOB iSeries (VL Web)
Posted: Wed Apr 19, 2023 1:12 am
Hi,
I have this issue.
I have a mixed multi tier web environment. Windows web server, data/application server is iSeries.
In the Windows web administrator, you fill in the user that makes the connection to the iSeries (for example DC@PGMLIB).
If a LWEB_JOB now starts on the iSeries, it always run via user DC@PGMLIB. But in the login of the web job, a user has to fill in his iSeries user+password, and via Use Builtin(CHECK_IBMI_SIGNON) I check if that is OK. If OK, I do a #com_owner.StartSession Timeout(3600), but then want to change the current user of the LWEB_JOB into the of the VL Web sign in dialog.
I have this issue.
I have a mixed multi tier web environment. Windows web server, data/application server is iSeries.
In the Windows web administrator, you fill in the user that makes the connection to the iSeries (for example DC@PGMLIB).
If a LWEB_JOB now starts on the iSeries, it always run via user DC@PGMLIB. But in the login of the web job, a user has to fill in his iSeries user+password, and via Use Builtin(CHECK_IBMI_SIGNON) I check if that is OK. If OK, I do a #com_owner.StartSession Timeout(3600), but then want to change the current user of the LWEB_JOB into the of the VL Web sign in dialog.