Returning groups under subgroups?

Learning Keycloak on the go…

My current project creates groups under subgroups. For example Top-level, parent group, subgroup. I’ve seen a lot of documentation in a typical development where it’s just a parent group and subgroup. However, in my build, that parent’ group is actually moved to the top level group, and I have groups under a subgroup technically. Essentially - Parent Group → Subgroup → sub-subgroup

I am not able to find a way to return all sub-subgroup members. Set returns the subgroup, but in my case that’s the parent level and I’m curious if anyone else has dealt with this or have any idea how to return all groups for a user ?

Hopefully this makes sense :slight_smile: