mldap_logoff_ex
| Listing Directory Functions (mldap) |
Performs a logout from an LDAP server for a specific session.
int mldap_logoff_ex( MLDAP *pldap );
| pldap | An LDAP session identifier. |
The mldap_logoff_ex function logs off from an LDAP server for a specific session.
This function is for use with multiple sessions. For global or single sessions, use the mldap_logoff function, which leaves out the session identifier.
Return Values
If this function succeeds, it returns E_OK. Otherwise, it returns a negative value.
Parameterization
No parameterization is available for this function.
Example
In the following example, the mldap_logoff_ex function logs off from the LDAP server.
// Logon to the LDAP server mldap_logon_ex(pldap, "Login", "URL=ldap://johnsmith:tiger@ldap1:80", LAST );
// Logout from the LDAP server mldap_logoff_ex(pldap);

