Focal Point
[CLOSED] WFUSER as a variable in an application

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1967082995

February 24, 2011, 02:52 PM
MrM
[CLOSED] WFUSER as a variable in an application
Hi,

I'm trying to get WFUSER as a variable in an application.
But it won't work, we use WF 7.7.01 with TomCat.

I have added the following information to the file C:\ibi\WebFOCUS77\client\wfc\etc\site.wfs :

httpheader=auth_header
wfsvar=AUTH_ID
CopyHTTPHeaderToWFVar(httpheader,wfsvar)
AUTH_ID(pass)

IBIC_user(pass)
IBIMR_user(pass)

GEBRUIKER=&WF_REMOTE_USER
GEBRUIKER(pass)

WFUSER=&IBIC_user
WFUSER(pass)

When I use -? & in the application one of the things I see is :

&GEBRUIKER = null
&WFUSER =

What is going wrong and is it possible to get the projectname.

Thanks

This message has been edited. Last edited by: Kerry,
February 25, 2011, 04:20 AM
OPALTOSH
The IBIC_user(pass)
creates an & variable called &IBIC_user.

If you wnat the value in &WFUSER then use

-SET &WFUSER=&IBIC_user;

inside WebFOCUS.
February 25, 2011, 07:32 AM
FrankDutch
Did you think of the amper value &MY_user
it should give you the user id at logon
And there are many more amper values available




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7