Interface IOwnershipApiClient
Interface for an API client that modifies content item's ownership.
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IOwnershipApiClient
Methods
ChangeOwnerAsync(Guid, Guid, CancellationToken)
Change the owner of a content item.
Declaration
Task<IResult> ChangeOwnerAsync(Guid contentItemId, Guid newOwnerId, CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
Guid | contentItemId | The ID of content item to change the owner. |
Guid | newOwnerId | The new owner identificator. |
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IResult> | The result of changing the item ownership. |