M
Mark C James
Forgive me if this isn't the correct area to post this. The problem deals with
Visual Studio Web page development
LDAP queries
Web-Parts.
I developed a web page that works great. It searches and grabs phone numbers
via LDAP. The code in question;
objCommand.CommandText = _
"SELECT
givenName,SN,telephoneNumber,mobile,facsimileTelephoneNumber," & _
"extensionAttribute4,department,samAccountName,
userAccountControl FROM " & _
"'LDAP://dc=mydc,dc=myorg' " & _
"WHERE objectCategory='User' AND objectClass = 'Person' AND " &
Query
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
objRecordSet = objCommand.Execute
Visual Studio Web page development
LDAP queries
Web-Parts.
I developed a web page that works great. It searches and grabs phone numbers
via LDAP. The code in question;
objCommand.CommandText = _
"SELECT
givenName,SN,telephoneNumber,mobile,facsimileTelephoneNumber," & _
"extensionAttribute4,department,samAccountName,
userAccountControl FROM " & _
"'LDAP://dc=mydc,dc=myorg' " & _
"WHERE objectCategory='User' AND objectClass = 'Person' AND " &
Query
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
objRecordSet = objCommand.Execute