K
Koegel,Markus
Hello,
I have to build a string in an asp file for an AD request:
strcmd = "<GC://dc=mycompany,dc=com>;(&(objectCategory=User)" &
"(samAccountName=" & strUserName & "));distinguishedName;subtree".
Then I am executing with
objCommand.CommandText = strcmd
Set rstRecordSet = objCommand.Execute
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>;(&(objectCategory=User)" &
"(samAccountName=" & strUserName & "));distinguishedName;subtree".
Then I am executing with
objCommand.CommandText = strcmd
Set rstRecordSet = objCommand.Execute
But <GC://dc=mycompany,dc=com> vanishes from the string (checked in a output
with response.write).
Can anybody help me?
Thanks,
Markus