for getting user id from dashboard who is logged in i am using follwoing statements.
CNCTUSR('A8') and GETUSER('A8')
but some times CNCTUSR is getting right user id but most of the times it is not getting user id.
GETUSER is getting System
Pl. let me know if anybody knows.
Thanks in advanceThis message has been edited. Last edited by: Kerry,
Env Prod:WebFOCUS 7702 ,Windows xp on 64, SQL Server 2008, IRF Tool Env 1 Local: DevStudio 7702 - MS Windows XP SP2 - Apache Tomcat 5.0.28 Output: HTML, Excel and PDF
October 23, 2008, 06:04 PM
BlueZone
Did you try &IBIC_user ?
In anycase, the user-id is available as one of the session variables. Just for testing, try
-? & -EXIT
at the top of any executing RPC/Fex.
That will show you all variables currently defined including the variable that has the value of your User-id. Grab that variable-name and code around it.
Sandeep Mamidenna
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
October 23, 2008, 08:08 PM
Waz
This can be done by allowing the MRE User Id to be passed to the called Focexec.
It can be done the WebFOCUS administration console.
Please do a search for IBIMR_user, and you will find what you need.