ILogOnServiceGetSessionToken Method

Creates a session token for the specified session.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Guid GetSessionToken(
	Guid sessionId,
	TimeSpan lifetime
)

Parameters

sessionId
Type: SystemGuid
The ID of the session for which to create the token.
lifetime
Type: SystemTimeSpan
The amount of time for which the token should be valid.

Return Value

Type: Guid
The GUID representing the session token.
Exceptions
ExceptionCondition
ArgumentExceptionsessionId is Empty.
ArgumentOutOfRangeExceptionlifetime is less than Zero.
NoPrivilegeException

The caller's session does not correspond to sessionId.

-or-

The caller does not have system administration privileges.

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