In your code, you supplied the MODE parm of '1' which means ALL.

Borrowing from the manual:
Quote:

Mode

Optional integer parameter indicating whether or not InGroup checks for group membership of one or all groups in the list (default = 0). Possible values:

0 InGroup checks for membership of ONE of the groups in the list (default)
1 InGroup checks for membership of ALL of the groups in the list



_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.