Share this page

# Example: mldap_search_ex

In the following example, the mldap_search_ex function searches for all objectclass attribute values on the base level.

    mldap_search_ex(pldap,"LDAP Search",
                 "Base=OU=Sales,DC=TECHNO,DC=com",
                 "Scope=Base",
                "Filter=(objectclass=*)",

                 LAST );

In the following example, the mldap_search_ex function searches the name attribute one level beneath the base, for the name Dan.

    mldap_search_ex(pldap,"LDAP Search",
                 "Base=OU=Sales,DC=TECHNO,DC=com",
                 "Scope=Onelevel",
                 "Filter=(name=Dan)",
                 "Timeout=10",
                 "Mode=ASYNC",
                 LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: