| ActiveDirectoryGetEntriesByAttribute Method |
Gets entries that match a given wildcarded (*) attribute value in the supplied attribute.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public List<SearchResultEntry> GetEntriesByAttribute(
string attributeName,
string attributeValue,
List<string> attributes = null
)
Public Function GetEntriesByAttribute (
attributeName As String,
attributeValue As String,
Optional attributes As List(Of String) = Nothing
) As List(Of SearchResultEntry)
public:
List<SearchResultEntry^>^ GetEntriesByAttribute(
String^ attributeName,
String^ attributeValue,
List<String^>^ attributes = nullptr
)
member GetEntriesByAttribute :
attributeName : string *
attributeValue : string *
?attributes : List<string>
(* Defaults:
let _attributes = defaultArg attributes null
*)
-> List<SearchResultEntry>
Parameters
- attributeName
- Type: SystemString
The name of the attribute to search against. - attributeValue
- Type: SystemString
The value to search for in the attribute. - attributes (Optional)
- Type: System.Collections.GenericListString
(Optional) The attributes that should be returned in the entry found. If not provided, all non-constructed attributes are returned. Constructed attributes must be explicitly defined.
Return Value
Type:
ListSearchResultEntryThe list of SearchResultEntry(s) found, or null if not found.
See Also