I am working to audit our Confluence Server instance (5.10.3). I am needing to find out all the users who are set Active and have not signed in within the last 90 days
Below is the query we are working with, but unfortunetly it is not rendering the correct info. Would anyone be able to assist?
use confluence;
SELECT u.user_name, d.directory_name, l.successdate
FROM logininfo l
JOIN user_mapping m ON m.user_key = l.username
JOIN cwd_user u ON m.username = u.user_name
JOIN cwd_directory d ON u.directory_id = d.id
WHERE (successdate < '2017-03-03')
and u.active = 'T';
ORDER BY successdate;