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
)
Function GetUserAccessToken (
username As String,
tenantId As Guid?
) As String
String^ GetUserAccessToken(
String^ username,
Nullable<Guid> tenantId
)
abstract GetUserAccessToken :
username : string *
tenantId : Nullable<Guid> -> string
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:
StringThe trusted access token.
Exceptions Exception | Condition |
---|
TrustedAccessException | Occurs if a token is not able to be retrieved from the Data Discovery module. |
See Also