Caution:

A user can belong to a maximum of 10,000 groups, further groups are ignored.