IAccountServiceGetAccountsInTenant Method

Gets the IDs of all accounts in the specified tenant.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
ICollection<Guid> GetAccountsInTenant(
	Guid tenantId
)

Parameters

tenantId
Type: SystemGuid
The ID of the tenant.

Return Value

Type: ICollectionGuid
A collection containing the IDs of all accounts in the specified tenant.
Exceptions
ExceptionCondition
ArgumentExceptiontenantId is Empty.
NotFoundExceptionA tenant with the specified ID does not exist.
FeatureNotEnabledExceptionThe multi-tenancy features of the application are not enabled.
NoPrivilegeException The caller does not have system administration privileges and is not a tenant administrator for the specified tenant.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also