ldap->search

Performs an LDAP search.

Target member

Signature

1ldap->search(...)

Performs an LDAP search.

ldap->search is called with member syntax on a receiver value. ldap->search performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.

Parameters

...
Additional values may be supplied after the earlier arguments.

Examples

Basic call

1ldap->search(-base='dc=example,dc=com', -filter='(uid=ada)')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.