What is the best way to perform an InGroup on a different user (not the one running the script)???

Something like...

If UserInGroup($UserID, $Group)
Do Something
EndIf

Currently I enumerate the groups from the user's object, but that only gives me groups that the user is immediately a member of...not groups that the user is a member of via nesting (the way InGroup() does.)


Edited by sixdoubleo (2005-10-22 12:09 AM)