The @Priv macro only works for current user.

If you want to check if the group 'Domain Users' or another User/Group are member of the Local administrators group,
you can use this code:
code:
If IsLocalAdmin('Domain Users')
'Yes is local admin'
Else
'No is NOT local admin'
EndIf

? Get $x

Function IsLocalAdmin($UserOrGroup)

$oGroup = GetObject("WinNT://./Administrators,group")
$oChk = GetObject("WinNT://" + @Domain + "/" + $UserOrGroup)
If VarTypeName($oChk) = "Object"
If $oGroup.IsMember($oChk.adspath)
$IsLocalAdmin = 1
EndIf
EndIf

EndFunction

-Erik

ps.
This wil only work if your workstations are W2k or newer, or if you install WMIcore