Hi, I have few queries regarding LDAP and Lotus C++ API -
Can I retrieve DN (Distinguished Name) of a note entry using Notes C++ API? If I know the noteid of a note and want to know its DN … is there any way to get it?
Sometimes LDAP Name and Notes Name are different for an attribute/object class. Can I retrieve LDAP Name for given Notes Name programmatically using C++ API?
Any pointers regarding the same will be helpful. Thank you in anticipation.
I have few queries regarding LDAP and Lotus C++ API -
Can I retrieve DN (Distinguished Name) of a note entry using Notes C++ API? If I know the noteid of a note and want to know its DN … is there any way to get it?
If you know the Universal Note ID (UNID) of a Note, you can use the new dominoUNID operational attribute (32-char hex string) in LDAP queries. (FYI - a simple Note ID is not sufficient since a single Domino LDAP server can serve up multiple Domino directories through Directory Assistance).
Support for the dominoUNID LDAP operational attribute was added to 6.0.5/6.5.4 and 7.0.
Sometimes LDAP Name and Notes Name are different for an attribute/object class. Can I retrieve LDAP Name for given Notes Name programmatically using C++ API?
Sorry, we have no API that allows you to convert between the two names. This information is approximated in schema.nsf. I say approximated because some LDAP attributes do not have one-to-one mappings to Notes fields - “cn” and “mail” are two such common examples.