ILogOnServiceImpersonateAccount Method (Guid, NullableGuid) | 
Namespace: Dundas.BI.AccountServices
| Exception | Condition | 
|---|---|
| ArgumentException | accountId or tenantId is Empty. | 
| InvalidOperationException | The current session is the result of an impersonation. -or- The caller is attempting to impersonate their own account.  | 
| OperationFailedException | Logging on as the impersonated account failed. | 
| NotFoundException | The specified account was not found. | 
| NoPrivilegeException | The caller does not have system administration privileges. -or- The caller is associated with a tenant, but does not have administration privileges for that tenant. -or- The caller is associated with a tenant, the specified account does not belong to that tenant. -or- The specified non-global account is not a member of the specified tenant.  | 
| InvalidSessionException | The caller context is not associated with a valid session. |