I have a structure of groups (one main group with sub-groups) in active directory.
How can I get the list of all members (users) of all the groups using the main group DN?
I found many examples for finding nested groups for a specific user, but could find how it works the other way around. (I'm using C#)
Thanks!