IF INGROUP ( "\\@WKSTA\Administrators" ) = 2 $USRTYP= "ADMINSTRATOR"ELSE$USRTYP= "USER"
Is there any other method or function?
if you add an endif , this will work !
Jochen