Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
ThomasIwang
Beginner
Beginner

create report from shell

Jump to solution

hi - I would like to get a report of users logged in on our AM 8.1 a given day directly from the postgre sql db - I found this liggel sql script which partly runs fine:


Select LOGINUID, SERIAL_NUMBER, LAST_LOGIN_DATE

 

from AM_TOKEN_OOB, AM_TOKEN, IMS_PRINCIPAL_DATA
              
where AM_TOKEN_OOB.AM_TOKEN_ID=AM_TOKEN.ID and AM_TOKEN.PRINCIPAL_ID=IMS_PRINCIPAL_DATA.ID and LAST_LOGIN_DATE >'2016-05-07';

 

but I also need the users real name and email adresses - how should it look to get these also? I cannot find the fields...

0 Likes
1 Solution

Accepted Solutions

IMS_PRINCIPAL table contains FIRST_NAME, LAST_NAME, and EMAIL fields.

View solution in original post

4 Replies
_EricaChalfin
Employee (Retired) Employee (Retired)
Employee (Retired)

Thomas Iwang‌,

 

I have  moved your question to the RSA SecurID Suite" data-type="space‌ space so you can get information about your SQL query.

 

Regards,

Erica

0 Likes
TedBarbour
Employee
Employee

Hi Thomas - are the users coming from an external Identity Source?  If so, those items are only stored in the IS and not duplicated in the AM database.

 

Ted

Hi ted

No they are local users in the rsa user db

Br ti

0 Likes

IMS_PRINCIPAL table contains FIRST_NAME, LAST_NAME, and EMAIL fields.