Well, depends
We could add an optional $IsComputerName
by default, it's always equal to 0
If different, you got the point.

nah, damn smileys

Something else:
I can't get anything from this :
$root=Getobject("LDAP://CN="+"$Variable"+","+GetObject("LDAP://rootDSE").Get("defaultNamingContext"))
always return in @serror : "There is no such object on the server.", whatever i put in $variable (existing or not user, complete name or partial)
weird!
I'm looking in this way as i don't know if AdSystemInfo is 9x compatable (currently looking for)

[ 18 December 2001: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)