Dear,

Welcome to the board.

Jim, your problem wren't the brackets but your AND keyword.
You need to use the OR key.
Result can be:

code:

IF (Ingroup("GroupA") <> 0) OR (Ingroup("GroupB") <> 0)
use o: "\\server\share1"
use p: "\\server\share2"
ENDIF


Greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA