Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I need SQL Query which can take user last login detail from confluence site. Could anyone assist us.

Inayadhullah Khan Hasathullah Khan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 28, 2017

I need SQL Query which can take user last login detail about confluence site  from confluence database. Could anyone assist us.

1 answer

0 votes
Nic Brough -Adaptavist-
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 Champions.
April 28, 2017

Reading the database is generally a bad idea, and the query you need probably depends on what user directory you are using.

For most setups though, look in the "cwd_user_attributes where attribute_name = lastAuthenticated" is the starting point.  Join it to cwd_user to get the user's human details like name and login.

Inayadhullah Khan Hasathullah Khan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2017

This attribute seems to be in jira database. I did'nt see this in confluence database after verified whole database even not find the login details itself. Please let me know the Sql query which can fetch the data of user last login  for the confluence site.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events