My maintain has the requirement of retrieving the username from the system.
So I set up my stsem with IIS secure (IWA and Basic checked, anonymous access disabled).
In tomcat I specified the tomcatAuthentication="false".
In the site.wfs I specified:
<sendvar>
FullUser=&REMOTE_USER
JustUser=&WF_REMOTE_USER
<endsendvar>
Restarted everything.
After restart I check with an ad hoc request:
TABLE FILE CAR
"FullUser = &FullUser"
"JustUser = &JustUser"
PRINT CAR MODEL SEATS
BY COUNTRY
END
and it gave me the expected uername with and without domain.
So I modified my maintain with the statement:
Compute mnt_user/a25 = IWC.getAppCGIValue("REMOTE_USER");
And ran it. The result is that my mnt_user variable is empty.
Also tried with the deprecated method IWC.FindAppCGIValue and that one gave me the value of 'null' for the variable requested.
Also tried it with WF_REMOTE_USER, with FullUser, with JustUser. All results just return a blank field.
Anything I'm doing wrong?
Oh, btw, this is release 764.
GamP
- Using AS 8.2.01 on Windows 10 - IE11. |
| in Focus since 1988 |