| ActiveDirectoryGetEntriesBySAMAccountName Method |
Gets entries that match a given wildcarded (*) SAM account name.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public List<SearchResultEntry> GetEntriesBySAMAccountName(
string sAMAccountName,
List<string> attributes = null
)
Public Function GetEntriesBySAMAccountName (
sAMAccountName As String,
Optional attributes As List(Of String) = Nothing
) As List(Of SearchResultEntry)
public:
List<SearchResultEntry^>^ GetEntriesBySAMAccountName(
String^ sAMAccountName,
List<String^>^ attributes = nullptr
)
member GetEntriesBySAMAccountName :
sAMAccountName : string *
?attributes : List<string>
(* Defaults:
let _attributes = defaultArg attributes null
*)
-> List<SearchResultEntry>
Parameters
- sAMAccountName
- Type: SystemString
The SAM account name of the entries to get. - 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:
ListSearchResultEntryThe list of SearchResultEntry(s) found, or null if not found.
See Also