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 (25.3.0.1000)
Syntaxint TerminateAllSessions(
	Guid accountId
)
Function TerminateAllSessions ( 
	accountId As Guid
) As Integer
int TerminateAllSessions(
	Guid accountId
)
abstract TerminateAllSessions : 
        accountId : Guid -> int 
Parameters
- accountId
 - Type: SystemGuid
The account ID. 
Return Value
Type: 
Int32The number of sessions which were deleted.
Exceptions| Exception | Condition | 
|---|
| ArgumentException | accountId 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.  | 
| InvalidSessionException | The caller context is not associated with a valid session. | 
See Also