Open this page in the API Guide

ISessionService.GetSessions Method

Retrieves a list of sessions having the specified IDs.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IDictionary<Guid, Session?> GetSessions(
	ICollection<Guid> sessionIds
)

Parameters

sessionIds
Type: System.Collections.Generic.ICollection<Guid>
The IDs of the sessions to retrieve.

Return Value

Type: IDictionary<Guid, Session>
A dictionary (keyed by session ID) containing the corresponding Session or null if the session does not exist.
Exceptions
ExceptionCondition
ArgumentNullExceptionsessionIds is null.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also