do you have the manual?
have you read the FAQ forum here?

See the if/endif, ingroup, and use commands.

if ingroup('domain\somegroup')
use x: '\\server\share'
endif
_________________________
How to ask questions the smart way <-----------> Before you ask