IAccountServiceGetAccount Method (String)

Gets the account with the specified name.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Account GetAccount(
	string name
)

Parameters

name
Type: SystemString
The name of the account to get.

Return Value

Type: Account
The account corresponding to the specified name.
Exceptions
ExceptionCondition
ArgumentExceptionname is or empty.
NotFoundExceptionAn account with the specified name was not found.
NoPrivilegeException

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.
Remarks
For Windows accounts, use the DOMAIN\AccountName format.
See Also