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
)
Function GetAccount (
name As String
) As Account
Account^ GetAccount(
String^ name
)
abstract GetAccount :
name : string -> Account
Parameters
- name
- Type: SystemString
The name of the account to get.
Return Value
Type:
AccountThe account corresponding to the specified name.
Exceptions Exception | Condition |
---|
ArgumentException | name is or empty. |
NotFoundException | An 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. |
InvalidSessionException | The caller context is not associated with a valid session. |
Remarks For Windows accounts, use the DOMAIN\AccountName format.
See Also