Access Log - PeopleSoft

GuidesPeopleSoftSoftware Development

I came across a requirement today where I needed to find out when a user had last logged into PeopleSoft. The record PSACCESSLOG came in handy here, it stores all of the following:

PSACCESSLOG
OPRID: The users operator ID
LOGIPADDRESS: The users IP address
LOGINDTTM: A timestamp showing when the user logged in
LOGOUTDTTM: A timestamp showing when the user logged out
PT_SIGNON_TYPE: The signon type

Find Last Login Date for User:

SELECT *
FROM PSACCESSLOG
WHERE oprid = ''
ORDER BY effdt DESC;

Find all logins since 1st March 2012:

SELECT *
FROM PSACCESSLOG
WHERE TO_DATE(CAST(logindttm AS DATE), 'dd/mm/yy') >= TO_DATE('01/03/2012', 'dd/mm/yy');

Image unavailable in the original archive: PSACCESSLOG - Login History in PeopleSoft (original file unavailable)

PSACCESSLOG - Login History in PeopleSoft

Leave a comment below if you have any questions.

2 comments

Comments from the original blog are preserved here. New comments are closed.

  1. Zara

    Appreciate your blog ppost

  2. Chris Owens
    In reply to Zara

    Thanks Zara, glad it was useful!