Example: mldap_set_option
This example shows mldap_set_option setting TLS to ON before conducting a search. .
mldap_logon("LdapLogon", "URL=ldap://100.100.100.100", "Version=3", "SSLCertDir=e:\\LdapServerCertificates\\", LAST );
mldap_search("LdapSearch", "Base=", "Scope=Base", "Filter=objectclass=*", LAST );
//Enables TLS on a current session.
mldap_set_option("TLS=ON", LAST );
mldap_search("LdapSearch", "Base=cn=Recipients,ou=qalab,o=qalab", "Scope=Subtree", "Filter=(rdn=QAtest)", LAST );