Focal Point
Retrieving User Name from WebFocus system files

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

April 25, 2007, 05:45 AM
mark66
Retrieving User Name from WebFocus system files
Hi all,

I am wanting to extract the actual user name for a &G_USER ID, that I am hoping must be stored somewhere within the WebFocus system files.

Is this possible? What is the file?

Many thanks as always!


WebFocus 765. iSeries v5r4
April 25, 2007, 06:42 AM
Pete
Hi Mark,

Perhaps you can use

-SET &USR = CNCTUSR('A8');


P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

April 25, 2007, 09:30 AM
susannah
Put this command into your site.wfs on the client (d:\ibi\clientnn\wfc\etc\site.wfs )
<SET>IBIMR_user(PASS)

Then in mre in your fexes
put
-TYPE &IBIMR_user
and you'll see the &var you can use
The
-SET &USR = CNCTUSR('A12');
-SET &USR = GETUSER('A12');
seem to get a userid that is used to connect to the server... i'm not sure (someone will come along and tell us ) ...but they don't get the mre user id...if that's what you're looking for.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID