There's also a ComputerInGroup UDF on my site that's similar to Allen's except that you can supply a list or array of group names and it returns true if the computer is a member of any of the listed groups.

Different function in reality, Allen's tests for membership in a specific group, which might be needed for group membership manipulation. Mine was optimized for login script processing, allowing a function to be performed (such as printer mapping) when the computer is a member of any or all of a list of groups - this reduces the number of UDF calls when testing multiple group memberships.

I have a similar fInGroup() UDF for user group matching.

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