# LDAPFilter

An LDAP filter to limit the mailboxes that are processed. This parameter has no effect unless `ProcessLdapMailboxes` is `true`.

Type: | LDAP Filter
Default: | `(&(objectClass=user)(mail=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))` The connector processes the mailbox of each user `(objectClass=user)`, with a mailbox specified `(mail=*)`, unless the account has been disabled.
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `LDAPFilter=(&(objectClass=user)(!(name=*Unwanted*))(mail=*))` This example causes the connector to process only the mailbox of users `(objectClass=user)`, with a mailbox specified `(mail=*)` where the name of the user does not contain the string "Unwanted" `(!(name=*Unwanted))`.
See Also: | ProcessLdapMailboxes

_FT_HTML5_bannerTitle.htm