I need to create a lot of groups that have similar dynamic membership rules.
e.g.
Marketing group that adds users if they are enabled and if customAttribute10 is "14"
Sales group that adds users if they are enabled and if customAttribute10 is "18"
Admin group that adds users if they are enabled and if customAttribute10 is "42"
but I need to do this for about 100 groups, and I'd like to copy all the other settings and attributes between them.
So is there a way to do this in bulk?