#include <ldap.h>
int ldap_msgid(
LDAPMessage *msg)
The ldap_msgid() routine returns the message ID associated with an LDAP message. Use ldap_msgid() to match the result(s) of an asynchronous operation with the original operation.
No i5/OS authority is required.
ldap_msgid() returns ZERO if the input pointer to LDAPMessage structure is NULL.
The following message may be sent from this function.
| Message ID | Error Message Text |
|---|---|
| CPF3CF2 E | Error(s) occurred during running of ldap_msgid API. |
| Top | LDAP APIs | APIs by category |