Where does this come from?

If you take the Macro @WKSTA, you can run a specific part of the script based on the Workstation name, for example:

code:
;WORKSTATION NAMES ARE: NAME01,NAME02,NAME03
IF INSTR(@WKSTA,'NAME')
;DO WHATEVER
ENDIF

I was thinking how we could do this based on Group Membership.

Because today, you have to do this like:
code:
IF INGROUP('Jacksonville Users') OR INGROUP('DOMAINA\COMPANY Jacksonville') OR INGROUP('DOMAINB\COMPANY Jacksonville')
;DO WHATEVER
ENDIF

Or..
code:
IF INGROUP('Jacksonville Users','DOMAINA\COMPANY Jacksonville','DOMAINB\COMPANY Jacksonville')
;DO WHATEVER
ENDIF

HTH,

Kent

[ 04. November 2003, 18:49: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's