Skip to content

Commit 2c73771

Browse files
author
robin.kluth
committed
* Add option to only return active entries.
1 parent 4f7d2b6 commit 2c73771

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ There are 4 basic functions:
6161
* `$fetchUserDN` determines the user DN, in case you want a bind via a users DN instead of username@hostname
6262
* `fetchUserData($attributes)`
6363
* Queries the LDAP for the logged in user and gets some attributes (adjustable list of attributes)
64-
* `searchUser($searchFor, $attributes, $searchFilter, $domainKey)`
64+
* `searchUser($searchFor, $attributes, $searchFilter, $domainKey, $onlyActiveAccounts)`
6565
* Searches for a user in the LDAP-Directory. This requires a search-user which is configured in the component options.
6666
* The options let you define what attributes you want back and in which you are searching (defaults to lastname,
6767
firstname, username and class=person).
6868
* `$domainKey` lets you set a fixed domain (from autoDetect as example) to search. Otherwise, it searches in every
6969
domain
70+
* `$onlyActiveAccounts` lets you decide whether you only want active or all accounts to be returned. defaults to
71+
false!
7072

7173
## Example
7274

0 commit comments

Comments
 (0)