IAccountServiceGetAccount Method (Guid)

Gets the account with the specified ID.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.2.0.1000)
Syntax
Account GetAccount(
	Guid id
)

Parameters

id
Type: SystemGuid
The ID of the account to get.

Return Value

Type: Account
The account corresponding to the specified ID.
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
NotFoundExceptionAn account with the specified ID was not found.
NoPrivilegeException

The account is not the caller's account.

-or-

The caller does not have system administration privileges.

-or-

The account is 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