You should peruse the UDF library here on KORG as well as the one on my web site. There's a UDF called GetNestedGroups that retrieves a list of all the groups an account is a member of including nested groups.

For any UDF that I've written and posted on KORG, you should check my web site as the UDFs from our development library are postprepped and published to the web server nightly, making it the most up-to-date source of these UDFs.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D