LDAP
Complete reference for the LDAP component - perform directory operations including query, add, modify, delete, and connection management
Syntax
Template Syntax
<bx:ldap
action="query"
server="ldap.example.com"
port="389"
result="queryResults"
start="dc=example,dc=org"
filter="(objectClass=person)"
/>Script Syntax
ldap
action="query"
server="ldap.example.com"
port="389"
result="queryResults"
start="dc=example,dc=org"
filter="(objectClass=person)";Supported Actions
query
add
modify
delete
modifydn
open
close
Attributes
Core Attributes
Attribute
Type
Required
Default
Description
Authentication Attributes
Attribute
Type
Required
Default
Description
Query-Specific Attributes
Attribute
Type
Required
Default
Description
Modify-Specific Attributes
Attribute
Type
Required
Default
Description
Add-Specific Attributes
Attribute
Type
Required
Default
Description
Delete-Specific Attributes
Attribute
Type
Required
Default
Description
ModifyDN-Specific Attributes
Attribute
Type
Required
Default
Description
Examples
Query Operations
Simple Query
Filtered Search
Complex Filter Query
Paginated Query
Query Results as Array
Add Operations
Add New User
Add Entry with Multiple Values
Modify Operations
Modify User Attributes
Add Attribute Values
Delete Attribute Values
Delete Operations
Delete User
ModifyDN Operations
Rename Entry
Move Entry to Different OU
Connection Management
Define and Reuse Named Connections
Explicitly Open a Named Connection
Close a Named Connection
Secure Connections
SSL/TLS Secure Connection
Mutual TLS Authentication
LDAP Filter Syntax
Filter Operators
Example Filters
Error Handling
Understanding Empty Results
Exception Handling
Common Error Scenarios
Error
Cause
Solution
Event Handling
onLDAPConnectionOpen
onLDAPConnectionClose
Related
Last updated
Was this helpful?
