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.2.0.1000)
Syntax
IDictionary<Guid, Account?> GetAccounts(
	ICollection<Guid> accountIds
)

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
ExceptionCondition
ArgumentNullExceptionaccountIds 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.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also