If you retrieve a script argument using the WinNT provider, you can use the Class property of the object to determine what type of object the argument was.

If your c:\util\test0.vbs script contains:

Dim objArguments, strDomainUser, Cls
Set objArguments = Wscript.Arguments
If WScript.Arguments.Count = 0 then Wscript.Quit
strDomainUser=objArguments(0)
Cls="NOT FOUND"
On Error Resume Next
Set objUser = GetObject("WinNT://" & strDomainUser )
Cls=objUser.Class
Wscript.Echo <div class="Contentquote"><center>" & strDomainUser & </center></div> " & Cls
Wscript.Quit
Then see the following:
<b>cscript //nologo c:\util\test0.vbs "JSIINC/Domain Admins"</b>
"JSIINC/Domain Admins" <b>Group</b>

<b>cscript //nologo c:\util\test0.vbs "JSIINC/Jerry"</b>
"JSIINC/Jerry" <b>User</b>

<b>cscript //nologo c:\util\test0.vbs "JSIINC/JSI001"</b>
"JSIINC/JSI001" <b>Computer</b>

<b>cscript //nologo c:\util\test0.vbs "JSIINC"</b>
"JSIINC" <b>Domain</b>