Not sure I understand your question, but you can try the following and see if it gets the info you are looking for.

GetPrimaryGroup() - Get a User's Primary Group from Active Directory
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=204238

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1
_________________________
(... better days ahead)