Open this page in the API Guide

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

Parameters

accountIds
Type: System.Collections.Generic.ICollection<Guid>
The IDs of the accounts to retrieve.

Return Value

Type: IDictionary<Guid, Account>
A dictionary (keyed by account ID) containing the corresponding Account or null if the account does not exist.
Exceptions
ExceptionCondition
ArgumentNullExceptionaccountIds is null.
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