IAccountServiceGetAccounts Method |
Retrieves a list of accounts having the specified IDs.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax IDictionary<Guid, Account?> GetAccounts(
ICollection<Guid> accountIds
)
Function GetAccounts (
accountIds As ICollection(Of Guid)
) As IDictionary(Of Guid, Account)
IDictionary<Guid, Account^>^ GetAccounts(
ICollection<Guid>^ accountIds
)
abstract GetAccounts :
accountIds : ICollection<Guid> -> IDictionary<Guid, Account>
Parameters
- accountIds
- Type: System.Collections.GenericICollectionGuid
The IDs of the accounts to retrieve.
Return Value
Type:
IDictionaryGuid,
Account
A dictionary (keyed by account ID) containing the corresponding
Account
or
if the account does not exist.
Exceptions Exception | Condition |
---|
ArgumentNullException | accountIds is . |
NoPrivilegeException | The caller does not have system administration privileges. -or-
One or more of the specified accounts are associated with a tenant, and the caller does not have administration
privileges for that tenant.
|
InvalidSessionException | The caller context is not associated with a valid session. |
See Also