How to log the last time a particular user logged into any session using Automation Point
search cancel

How to log the last time a particular user logged into any session using Automation Point

book

Article ID: 45975

calendar_today

Updated On:

Products

Automation Point

Issue/Introduction

The business asks to report on the last time any user logged into any Automation Point (AP) session.

The actual requirement is if Automation Point has any built-in reporting mechanism for providing the last time a particular user logged into any AP session?

Environment

Any supported release of Automation Point

Resolution

Automation Point does not provide a specific mechanism for reporting the last time a particular user logged into any session. However, it keeps log file records of each time any user logs into any session from Remote Viewer Client in the xc_msg.log and the out.deb files.

Additional Information

It is possible to write an AP rule that detects these login message IDs and sends the &TIME and &MSG environment variables to a custom AP-REXX script that is writen which parses the &MSG for the session name and userID, and then writes the parsed userID and &TIME to a log file somewhere on the server's filesystem whose filename is prefixed by the parsed session name (e.g. session1_last_user_login.txt).