@LDAPServer (Formula Language)

Returns the URL and port number of the LDAP listener in the current domain. Notes® looks for this information in several places, following this search sequence:

  1. Searches on the current server.
  2. Searches for the notes.ini variable labeled LDAPSERVER=.
  3. Queries the administration server, which runs the LDAP service automatically, by default.
Note: This function is new with Release 6.

Syntax

@LDAPServer

Examples

The following code, when used as the default value for a field on a form that resides in a database hosted by the ocean/bay server, displays LDAP://ocean.acme.com:379 when the form is accessed by a Web browser. This indicates that the LDAP listener is located at port 379 for the current domain.
@LDAPServer