ILogOnServiceTryHypotheticalLogOn Method

Gets the hypothetical result of a logon by the account with the specified ID (without actually creating a session).

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
LogOnResult TryHypotheticalLogOn(
	Guid accountId,
	bool deleteOtherSessions
)

Parameters

accountId
Type: SystemGuid
The ID of the account to try logging on.
deleteOtherSessions
Type: SystemBoolean
A value indicating whether other sessions should be deleted if required for the logon to succeed.

Return Value

Type: LogOnResult
An object describing the hypothetical result of the logon operation.
Exceptions
ExceptionCondition
ArgumentExceptionaccountId is Empty.
NotFoundExceptionThe 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.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also