COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: mrcool on 05 Mar 2014 03:15:11 PM

Title: User Last Login Time from Content Store Table
Post by: mrcool on 05 Mar 2014 03:15:11 PM
Hi All,

Could someone help me by sending the sql from Cognos Audit package which provides the usernames and their last login time?
If you can provide me the table which has login time I will work out on last login time.

Thanks,
MC
Title: Re: User Last Login Time from Content Store Table
Post by: adam_mc on 05 Mar 2014 03:29:44 PM
We use the COGIPF_USERLOGON table from the Audit Database where COGIPF_LOGON_OPERATION= 'Logon'

So SQL is something like:

select * from AUDITDB.COGIPF_USERLOGON where COGIPF_LOGON_OPERATION= 'Logon'

Hope this helps!
Title: Re: User Last Login Time from Content Store Table
Post by: mrcool on 05 Mar 2014 04:15:13 PM
Thanks Adam..
Is there any other alternative to find these details without Audit Database?

Thanks,
MC