Any script that can query a group on the root Domain and get me the results as this. From group and all nested groups too.
Groups the user is a member
If nested group the group name
So finally i have just users who are in the group and all nested groups the user may be into.
this would be helpful for me to remove all unwanted groups the user is for 1 purpose of he/she has to be in the group.
Say in many cases i have users who are in the group and in many nested groups for no use. By this i can remove the user from all unwanted groups .