## Uses of Class
javax.naming.directory.SearchControls

- Packages that use SearchControls
  Package | Description
  --- | ---
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.
  javax.naming.event | Provides support for event notification when accessing naming and directory services.

- - ### Uses of SearchControls in javax.naming.directory

    Methods in javax.naming.directory with parameters of type SearchControls
    Modifier and Type | Method | Description
    --- | --- | ---
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, String filterExpr, Object[] filterArgs, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, String filter, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, String filter, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.

  - ### Uses of SearchControls in javax.naming.event

    Methods in javax.naming.event with parameters of type SearchControls
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | EventDirContext.`addNamingListener​(String target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)` | Adds a listener for receiving naming events fired when objects identified by the search filter `filter` and filter arguments at the object named by the string target name are modified.
    `void` | EventDirContext.`addNamingListener​(String target, String filter, SearchControls ctls, NamingListener l)` | Adds a listener for receiving naming events fired when objects identified by the search filter `filter` at the object named by the string target name are modified.
    `void` | EventDirContext.`addNamingListener​(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)` | Adds a listener for receiving naming events fired when objects identified by the search filter `filter` and filter arguments at the object named by the target are modified.
    `void` | EventDirContext.`addNamingListener​(Name target, String filter, SearchControls ctls, NamingListener l)` | Adds a listener for receiving naming events fired when objects identified by the search filter `filter` at the object named by target are modified.