ISessionServiceTerminateAllSessions Method (Guid)

Terminates all sessions for the specified account.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
int TerminateAllSessions(
	Guid accountId
)

Parameters

accountId
Type: SystemGuid
The account ID.

Return Value

Type: Int32
The number of sessions which were deleted.
Exceptions
ExceptionCondition
ArgumentExceptionaccountId is Empty.
NoPrivilegeException

The caller does not have system administration privileges.

-or-

The specified account is associated with a tenant, but the caller does not have administration privileges for that tenant.

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