| ActiveDirectoryGetEntries Method |
Gets all entries in a search given an LDAP search filter.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public List<SearchResultEntry> GetEntries(
string filter,
List<string> attributes = null
)
Public Function GetEntries (
filter As String,
Optional attributes As List(Of String) = Nothing
) As List(Of SearchResultEntry)
public:
List<SearchResultEntry^>^ GetEntries(
String^ filter,
List<String^>^ attributes = nullptr
)
member GetEntries :
filter : string *
?attributes : List<string>
(* Defaults:
let _attributes = defaultArg attributes null
*)
-> List<SearchResultEntry>
Parameters
- filter
- Type: SystemString
The LDAP search filter string that will find the entries. - attributes (Optional)
- Type: System.Collections.GenericListString
(Optional) The attributes that should be returned in each entry found. If not provided, all non-constructed attributes are returned. Constructed attributes must be explicitly defined.
Return Value
Type:
ListSearchResultEntryA list of SearchResultEntry objects, or null if not found.
See Also