Returns the native LDAP handle that can be passed to external functions.
WebAPI.bdh
WebLdapGetNativeHandle(in hLdap: number): number;
the native handle
Parameter | Description |
---|---|
hLdap | Handle to a Web connection that was created with WebLdapConnect. |
transaction TWebLdap var hLdap, nHandle: number; begin WebLdapConnect(hLdap, "standardhost",WEB_PORT_LDAP, WEB_LDAP_FLAG_VERSION3); WebLdapBind(hLdap, "cn=adminname", "password"); nHandle := WebLdapGetNativeHandle(hLdap); write("Native handle:"); writeln(nHandle); WebLdapDisconnect(hLdap); end TWebLdap;