ITokenServiceSave Method

Saves the specified token.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void Save(
	TokenDefinition token
)

Parameters

token
Type: Dundas.BI.Data.Parameters.TokensTokenDefinition
The token.
Exceptions
ExceptionCondition
ArgumentNullExceptiontoken is .
NotFoundException

The project ID specified in the token corresponds to a project which could not be found.

-or-

The account ID specified in the token corresponds to an account which could not be found.

-or-

The tenant ID specified in the token corresponds to a tenant which could not be found.

InvalidOperationException

The specified account ID corresponds to a Windows Group account.

-or-

The specified project ID corresponds to a user project.

NoPrivilegeException

The caller does not have permission to update the token.

-or-

The caller does not have permission to create a token for the specified project and/or account and/or tenant.

InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
For new tokens, the Id property of the provided instance will be updated.
See Also