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.
ThanksThis message has been edited. Last edited by: Kerry,
February 25, 2011, 04:20 AM
OPALTOSHThe 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
FrankDutchDid 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