addusers.pl for Confluence

  • warning: Invalid argument supplied for foreach() in /home/locker/www/randomfoo.net/htdocs/code/modules/filter.module on line 592.
  • user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR format = 1' at line 1 query: SELECT * FROM filter_formats WHERE OR format = 1 in /home/locker/www/randomfoo.net/htdocs/code/includes/database.mysql.inc on line 108.
by lhl ( | | | )

Here's a script I wrote a couple weeks ago for easing user management for Confluence. It turns adding users and users to groups into a much less painful affair.

Requires:

WWW::Mechanize
HTML::TokeParser
Crypt::RandPasswd

Should be an easy breezy install w/ CPAN (perl -MPCAN -e shell)

Instructions are included with the code, and the code is pretty straightforward as well. If you're dealing with lots of users, trust me, it'll save you time.

AttachmentSize
addusers.pl.txt2.72 KB