Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add a lot of user at once

Pangianto Pang
Contributor
August 27, 2012

Hi all,

My company has just purchased confluence for 500 users. Now my boss want to insert user into it.

May i know if there is anyway to add a few users at once?

I was thinking to use SQL query to insert users, anybody can teach me how to do this?

Thanks in advanced.

2 answers

1 accepted

1 vote
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 27, 2012
1 vote
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 27, 2012

Confluence Command Line Interface has addUser and related actions. Use in combination with runFromSql if you has a database to draw from.

Pangianto Pang
Contributor
August 27, 2012

Hi Bob, i have successfully insert row into the 'confluence.cwd_user' using SQL statement.

However, now the problem is the 'cwd.id' is not auto generated and i manually input the id in.

I try to add the user now from the Confluence, it gives me error. saying the cwd_user.id is duplicated (to those i have manually inserted).

I do not know where confluence store this cwd_user.id counter. I want to set the counter to a bigger number.

Or any work around?

Can help?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 27, 2012

It's not a good idea to insert directly into the database - you really should revert to the backup you took before you did this, and do your user additions properly, via the API (using Bob's CLI is by far the best approach)

Pangianto Pang
Contributor
August 28, 2012

Hi Nic, thank for your reply.

i have done a roll back and do manual insert. But anyway i will explore the confluence CLI, it seems interesting.

Thanks guys.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events