| ActiveDirectoryGetEntryByEmailAddress Method |
Gets an entry given its E-mail address.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public SearchResultEntry GetEntryByEmailAddress(
string emailAddress,
List<string> attributes = null
)
Public Function GetEntryByEmailAddress (
emailAddress As String,
Optional attributes As List(Of String) = Nothing
) As SearchResultEntry
public:
SearchResultEntry^ GetEntryByEmailAddress(
String^ emailAddress,
List<String^>^ attributes = nullptr
)
member GetEntryByEmailAddress :
emailAddress : string *
?attributes : List<string>
(* Defaults:
let _attributes = defaultArg attributes null
*)
-> SearchResultEntry
Parameters
- emailAddress
- Type: SystemString
The e-mail address of the entry to get. - 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:
SearchResultEntryThe SearchResultEntry object found, or null if not found.
See Also