Hi, Need some help to find out the spaces created by present inactive owners and not being used from an long time.
Need to get the list and delete them.
Thanks,
Kalyan.
You can try the below query to get the list of spaces created by inactive users.
SELECT DISTINCT s.spaceid,
c.user_name,
s.spacename,
s.spacekey,
c.active
FROM SPACES AS s
JOIN user_mapping AS u ON s.creator = u.user_key
JOIN cwd_user AS c ON c.lower_user_name = u.lower_username
WHERE spacekey LIKE '~%'
AND c.active = 'F';
Once the spaces are identified, through admin rights, you can delete those spaces.
Regards,
Aamir
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.