IDataDiscoveryModuleServiceGetUserAccessToken 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 (24.3.0.1000)
Syntax
string GetUserAccessToken(
	string username,
	Guid? tenantId
)

Parameters

username
Type: SystemString
The username to retrieve a token for.
tenantId
Type: SystemNullableGuid
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