Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,422
Community Members
 
Community Events
176
Community Groups

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

6 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.

I've confirmed that your method is still effective at Crowd 3.4.5. 
Thanks!

Tnx, using this trick I was able to import users and groups and then add users to correct group. (not multiple , just one)

When one has as many username groupname enries in groups csv (individual lines), then that username will be added to all these groups. This requires first normal import phase: users.csv - multigroups.csv and then the second import phase: emptyusers.csv- multigroups.csv 

0 votes
Yilin 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
TAGS

Atlassian Community Events