Purging non active users

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?

2 answers

This widget could not be displayed.

Yes, we would like this too. We had this option to prune in mediawiki. Not in confluence.... Every year we have 5000 new students and not only 1% create content....

This widget could not be displayed.

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:

use confluence_db;

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.

Thanks...

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 10 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

39 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you