Focal Point
[SOLVED] How can i get Dashboard user credentials

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

October 23, 2008, 05:07 PM
wf1998
[SOLVED] How can i get Dashboard user credentials
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 advance

This 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 !! Music
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!