Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Want to track user activity

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Want to track user activity
 Login/Join
 
Gold member
posted
Is there a way to track the last time a user logged in to the dashboard module?


WF 766
Win2K
 
Posts: 50 | Location: North Carolina | Registered: May 16, 2006Report This Post
Guru
posted Hide Post
Hi Suzanne,

I do not know if tracking users logging into dashboard is valueable. We are more concerned with what reports the user is running. What parameter he/she is passing and what data is retrieved. All that is being done through a standard include module and then stored back in database.

Thanks,
Sayed


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Expert
posted Hide Post
You could do what Sayed suggests, but here is a way to determine the last time a user logged in to Dashboard.

Every login attempt (including those with invalid User ID's or Passwords) creates a log file, usually in Drive:\ibi\WebFOCUS53\worp\log, so using APP commands and an IBI supplied master (FOCAPPQ.MAS) you can create a list of these log files.

You can create a fex of this code, put it in an APP folder, changing the location of the WORP log folder and run it. (This may not work if the WF server is not on the same machine as the client).

-*-- Print a report of the last time a User logged in to WF Dashboard ----------
-*-- (Based on platform independent method of listing files in a directory)
-*-- By Francis Mariani - 2007/04/05

-SET &ECHO=ALL;

-SET &DATADIR = 'D:\ibi\WebFOCUS53\worp\log';

APP MAP TEMPAPP1 &DATADIR
-RUN

APP QUERY TEMPAPP1 HOLD
-RUN

?FF FOCAPPQ
-RUN

DEFINE FILE FOCAPPQ
USER_ID/A24     = GETTOK(FILENAME, 256, 1, '_', 24, 'A24');
LOGIN_DT/A8YYMD = GETTOK(FILENAME, 256, 2, '_', 8, 'A8');
LOGIN_TM1/A6    = GETTOK(FILENAME, 256, 3, '_', 6, 'A6');
LOGIN_TM/A8     = EDIT(LOGIN_TM1,'99:99:99');
END
-RUN

TABLE FILE FOCAPPQ
SUM
LOGIN_TM
BY USER_ID
BY HIGHEST 1 LOGIN_DT
WHERE RECORDLIMIT EQ 5000
END
-RUN


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Check this


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Want to track user activity

Copyright © 1996-2020 Information Builders