To answer John's qquestion directly, there is no way to determine if a computer is in a group with InGroup(). InGroup does not have optional parameters and so only passes the @UserID silently.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.