As Bjorn pointed out in the manual reference, InGroup can verify membership in ANY group, or ALL groups. Simply perform the tests for ALL groups first, since it appears that you want to map one share if a user is a member of 2 groups and a different one if they are a member of 1 group. For example:

 Code:
; map the T: drive
If InGroup('group1','group2',1)
  ; is member of both groups
  Use T: \\server\share1
Else
  If InGroup('group1','group2')
    ; is member of at least 1 group
    Use T: \\server\share2
  EndIf
EndIf


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