ITokenServiceGetToken Method

Gets the token by its ID.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
TokenDefinition GetToken(
	Guid id
)

Parameters

id
Type: SystemGuid
The token ID.

Return Value

Type: TokenDefinition
The token.
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
NotFoundExceptionThe token referenced by id cannot be found.
NoPrivilegeExceptionThe caller does not have access to the specified token.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also