Bulk remove users from Confluence?

I have copied over our production instance of Confluence to a sandbox environment in preparation for upgrading to Confluence 4.0. This, of course, includes the entire directory of users who have access to our Confluence production instance.

I need to keep email notifications on in the sandbox for testing purposes, but don't want users who are not participating in the testing to get notifications from this environment. What I'd like to do is bulk remove all users from the test instance and manually add in about 10 people who will actually do the testing.

QUESTION

Is there a way to bulk remove users? We have about 600 active users, so I don't want to remove them manually.

3 answers

1 accepted

This widget could not be displayed.

Confluence Command Line Interface removeUser action together with runFromSql or runFromCsv.

Would there be some example of how to use the removeUser?

Or even better, is there a macro or plugin that could be used for bulk remove/deactivate users?

This widget could not be displayed.

1) The link is dead.

2) Needing to pay for a plugin to do this is a cop-out.

3) The plugin, as far as I can tell, is no longer supported anyway.

This is a pain to deal with manually. How hard can it be to have a bulk disable screen where you check boxes or something and do them all in one batch instead of having to page through 800 odd users, open their details one by one and disable them manually?

Side-note: my original answer was more diplomatic but when you type in an answer then click the "log in or sign up to post" button, the subsequent login page doesn't take you back to the page you came from and you lose what you typed.

  1. Link updated. Atlassian has removed the old Plugin Studio, so old links will not re-direct anymore :(.
  2. You can do similar programming without cost. But the thing is it can be done if you want a solution. And you can certainly complain to Atlassian about the lack of a built in UI for it.
  3. Confluence CLI is supported.
This widget could not be displayed.

Hi

We have a plugin that could be used for this purpose. It s also good to have in the future to ensure only active users have an active confluence license.

You can read more here:

http://www.tieto.com/industries/telecom/tietos-solutions-network-equipment-providers/tietos-solutions-network-equipment-providers-rd-efficiency-excellence/development-platform-service/atlassian-services/atlassian-plugins

BR

Annicka

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

474 views 6 6
Join discussion

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