Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
set wshuser = getobject("LDAP://cn=test1,ou=Users,dc=mycorp,dc=com")
echo err
on error resume next
sdn = "cn=test1,ou=Users,dc=mycorp,dc=com"
set wshuser = getobject("LDAP://" & sdn)
if err.number<>0 then
wscript.echo "error 0x" & hex(err.number) & vbcrlf & err.description
else
wscript.echo "The target's distinguished name exists."
end if
set wshuser = nothing