Skip to main content


Interact with an LDAP database programmatically.

Background Information

LDAP (Lightweight Directory Access Protocol) is an application protocol for accessing and maintaining distributed directory information services, including user information, which can be used for authentication.

Available Tools

You can configure InterSystems IRIS to use LDAP authentication; see LDAP Guide. Also see the Security Tutorial.

For more complex authentication requirements, InterSystems provides the following tools:

%SYS.LDAP class

Enables you to interface with an LDAP database. It provides methods you can use for authentication and for working with entries in the LDAP database.

See the %SYS.LDAP entry in the InterSystems Class Reference.

Availability: All namespaces.

LDAP Outbound adapter

Sends requests to an LDAP server and receives responses.

See EnsLib.LDAP.OutboundAdapter in the InterSystems Class Reference.

Availability: All interoperability-enabled namespaces.