make a global group, example "PrinterA"

assign users to that group

in your script:
if ingroup('PrinterA')
$nul=addprinterconnection('\\server\printera')
endif
_________________________
How to ask questions the smart way <-----------> Before you ask