It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to I import groups memberships into crowd?

I managed to import my LDAP users from ldap-connector to ldap-delegated and now I need to reassign users to the groups that are managed inside crowd.

I do have a CSV file with `name,group` but how I am supposed to import this?

So far the only way to import groups that I found was when you import an entire directory into a crowd-local directory, but I am not able to use a local directory because LDAP authentication is a must.

2 answers

1 accepted

5 votes
Answer accepted

This is possible in Crowd, the only trick is to use the Import Users feature and give an empty csv file (only with headers) and the group membership one.

It works, I used it several times with more than 20.000 memberships.

0 votes
Yilin Mo Atlassian Team Dec 11, 2012

Hey Sorin,

It is currently not possible within a native way in Crowd, but I think you can do a trick if you're using Mysql or PostgreSQL database which allow to dump the data from CSV file, you can dump the group data in the table cwd_group then dump the membership data in the table cwd_membership. :)

Cheers

MOMO

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published 5 hours ago in Off-topic

Teams behind the teams - Your nominations please!

Teams do amazing things together. We’ve talked about the myth of the lone genius and how everything is actually the result of teamwork. You might be thinking, What about a novelist writing, say, Th...

47 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