Thanks for your quick reply.

Both

 Code:
If InGroup("domain\Group")
   Use G: "\\server\data"
EndIf


 Code:
If InGroup("domain.local\Group")
   Use G: "\\server\data"
EndIf


and

 Code:
If InGroup("Group")
   Use G: "\\server\data"
EndIf


Are not working...

When I delete the If/EndIf construction, it works. So you are right that there is an error in the InGroup.


Edited by harmen (2009-12-15 12:28 PM)