Hello Jason,

Please try the following code.



IF INGROUP("\\@WKSTA\Administrators")
 ? "You are a Local Administrator"
ELSE
 ? "You are NOT a Local Administrator"
ENDIF



Let us know if it DOES not work. I have it working on about 1,200+ NT/2000/XP workstations and Servers.

Your code DOES work for me as well, but perhaps the part where you are specifying the 1 is confusing this machine for some reason.

You could also try <>0

[ 21. February 2003, 07:50: Message edited by: NTDOC ]