LDAP Search Directory Parameters
The information in this article applies to product: e-Work 6 and 6.1 Designer User Manual
Issue
The version 6 and 6.1 Designer User Manual give the following incorrect syntax for the LDAP Search:
"&((objectClass=User)(OU=development))" returns all results where the object class is User and the OU is development.
"|((objectClass=User)(OU=development))" returns all results where the object class is User OR the OU is development.
%Result:=%LDAPSearch(Directory1,"\[objectClass=inetOrgPerson\]","cn",)
Resolution
The correct syntax is:
"(&(objectClass=User)(OU=development))" returns all results where the object class is User and the OU is development. (Note that the '&' is between the parentheses.)
"(|(objectClass=User)(OU=development))" returns all results where the object class is User OR the OU is development. (Note that the '|' is between the parentheses.)
%Result:=%LDAPSearch(Directory1,"(objectClass=inetOrgPerson)","cn",) (Note parentheses instead of brackets.)
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories