We need to remove over 1000 users from the confluence database who are no longer active. Can we do this directly from the database or will this cause a problem inside of Confluence? If this cannot be done directly from the database, then what is the method of purging users so we can free up some licenses?
It is better not to remove the users from the tools because it can cause issue but you can always disable them.
We have a connection with Crowd and all Atlassian tools so if we want to disable the inactive users we can just use the query like following:
update cwd_user set active='F' where user_name in ('user1','user2',...,'userN');
Better do no do it on live system and stop the confluence and crowd first.
First, this is a confluence issue but second we create users the soon the want to acces any space, We use a single signon setup based on CAS. So even when users have no content what se ever we have created the user. As we have each year more then 5000 new students and 5000 who leave our university we have lots of accounts without any content and they just fill tables...
So I need a query that selects the users with no content (pages, comments, blog entries) and putge them from the USERS table
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot