IDataDiscoveryModuleServiceTryGetSessionFromDataDiscoveryToken Method

Attempt to find a session based on a valid trusted access token from the Data Discovery module, or create it if it doesn't exist.

Namespace:  Dundas.BI.DataDiscovery
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
bool TryGetSessionFromDataDiscoveryToken(
	string tokenHeaderValue,
	out Guid sessionId
)

Parameters

tokenHeaderValue
Type: SystemString
The Data Discovery module's token, represented as the value of the Authorization header.
sessionId
Type: SystemGuid
When this method returns successfully, the ID of the corresponding application session.

Return Value

Type: Boolean
if the session was successfully found or created; otherwise, .
Exceptions
ExceptionCondition
TrustedAccessExceptionAn unexpected error occurred during the operation.
See Also