# Uses of Class
javax.naming.directory.SearchResult

Packages that use SearchResult
Package
Description
javax.naming.directory
Extends the `javax.naming` package to provide functionality for accessing directory services.

## Uses of SearchResult in javax.naming.directory

Methods in javax.naming.directory that return types with arguments of type SearchResult
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(String name, Attributes matchingAttributes)`
Searches in a single context for objects that contain a specified set of attributes.
`NamingEnumeration<SearchResult>`
DirContext.`search(String name, Attributes matchingAttributes, String[] attributesToReturn)`
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
`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.
`NamingEnumeration<SearchResult>`
DirContext.`search(Name name, Attributes matchingAttributes)`
Searches in a single context for objects that contain a specified set of attributes.
`NamingEnumeration<SearchResult>`
DirContext.`search(Name name, Attributes matchingAttributes, String[] attributesToReturn)`
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(String name, String filter, SearchControls cons)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(String name, Attributes matchingAttributes)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(String name, Attributes matchingAttributes, String[] attributesToReturn)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(Name name, String filter, SearchControls cons)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(Name name, Attributes matchingAttributes)`
`NamingEnumeration<SearchResult>`
InitialDirContext.`search(Name name, Attributes matchingAttributes, String[] attributesToReturn)`