IComposerIntegrationServiceGetUserAccessToken Method

Get a trusted access token for the specified username.

Namespace: Dundas.BI.ComposerIntegration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
string GetUserAccessToken(
	string username,
	Guid? tenantId
)

Parameters

username  String
The username to retrieve a token for.
tenantId  NullableGuid
The ID of the tenant to use for the token.

Return Value

String
The trusted access token.
Exceptions
ExceptionCondition
ArgumentException

username is or empty.

-or-

tenantId is Empty.

ComposerIntegrationExceptionOccurs if a token is not able to be retrieved from the Logi Composer.
FeatureNotEnabledExceptionIntegration with Logi Composer is not enabled.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also