Hello,
I have to build a string in an asp file for an AD request:
strcmd = "<GC://dc=mycompany,dc =com>;(&(object Category=User)" &
"(samAccountNam e=" & strUserName & "));distinguish edName;subtree" .
Then I am executing with
objCommand.Comm andText = strcmd
Set rstRecordSet = objCommand.Exec ute
But <GC://dc=mycompany,dc =com> vanishes from the string (checked in a output
with response.write) .
Can anybody help me?
Thanks,
Markus
I have to build a string in an asp file for an AD request:
strcmd = "<GC://dc=mycompany,dc =com>;(&(object Category=User)" &
"(samAccountNam e=" & strUserName & "));distinguish edName;subtree" .
Then I am executing with
objCommand.Comm andText = strcmd
Set rstRecordSet = objCommand.Exec ute
But <GC://dc=mycompany,dc =com> vanishes from the string (checked in a output
with response.write) .
Can anybody help me?
Thanks,
Markus
Comment