In which table user's last login time details will save?

Nageswarara Rao January 4, 2013

Hi,

I m getting the user's last login time by using LoginService interface programatically , but i want to get the last login time details using SQL query.

If Is there any posibility , please tell me how?

2 answers

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2013

Did you read the sql properly, it's not a column rather a value mapped in cwd_user_attributes table. Here is thq SQL

select attribute_value from cwd_user,cwd_user_attributes where cwd_user.id = cwd_user_attributes.user_id and attribute_name = 'login.lastLoginMillis'

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2013
Nageswarara Rao January 4, 2013

There is no such type of Column "Last login date" in my cwd_user table

Suggest an answer

Log in or Sign up to answer