Something like that


Function IsLocalAccount
DIM $tmp
$tmp=iif(@LDOMAIN=Left(@HOSTNAME,Instr(@HOSTNAME,".")-1),True,False)
$IsLocalAccount=$tmp
EndFunction