Open this page in the API Guide

IDataDiscoveryModuleService.GetUserAccessToken Method

Get a trusted access token for the specified username.

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

Parameters

username
Type: System.String
The username to retrieve a token for.
tenantId
Type: System.Nullable<Guid>
The ID of the tenant to use for the token.

Return Value

Type: String
The trusted access token.
Exceptions
ExceptionCondition
TrustedAccessExceptionOccurs if a token is not able to be retrieved from the Data Discovery module.
See Also