VBA,LDAP - 如何检索VBA
问题描述:
利用ADODB
对于下面的LDAP条目的LDAP目录条目属性的多个值:VBA,LDAP - 如何检索VBA
ou=People
ou=Europe
o=organisation.com
unit=Department 123
attribute1 = value1
attribute2 = value2
attribute2 = value23
attribute2 = value123
我试图检索所有三个“attribute2”属性的值,通过VBA中的ADODB对象。这是我正在使用的LDAP URL字符串:
"<LDAP://server.com:389/ou=People,ou=Europe,o=organisation.com>;(unit=*123);attribute2"
虽然结果记录只包含一个attribute2值。
是否有一种方法可以检索所有三个'attribute2'属性的值,而不指定任何'attribute2'属性值的任何部分?
请发布您的代码。 –