I have made a script with the code inside which I have from Mark Kochendorfer.
This is the code:
code:

; assign Domain or Computer name to $Domain
; assign user id to $UserID


$Result = getobject("WinNT://"+$Domain+"/"+$Userid+",user")
If @ERROR<>0
? "No such User (or Domain) "+$Domain+"/"+$Userid
Else
? "Yes they exist"
$Result=""
EndIf



This works perfect on my W2K pro system but not on the NT4.0 PDC SP6a.
Anyone any idea why?

[ 05 September 2001: Message edited by: awinkel ]