Håller på med att koda mot en exchangeserver... ADO mot exchange 5.5 en liten undran
objConnection.Provider = "ADsDSOObject" 'The ADSI OLE-DB provider
objConnection.Properties("User ID") = ""
objConnection.Properties("Password") = ""
objConnection.Properties("Encrypt Password") = False
objConnection.Open "ADs Provider"
strquery = "<GC://" & "Servername" & ":389>;(objectClass=*);cn,mail;subtree"
objCommand.ActiveConnection = objConnection
objCommand.CommandText = strquery
objCommand.Properties("Page Size") = 99
Set objRecordset = objCommand.Execute
Vad betyder denna rad:
strquery = "<GC://" & "Servername" & ":389>;(objectClass=*);cn,mail;subtree"