LogOnControllerImpersonateAccount Method

Starts an impersonation session for the specified account.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntax
[HttpPostAttribute("ImpersonateAccount/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<SessionData> ImpersonateAccount(
	Guid id,
	[FromQueryAttribute] Guid? tenantId = null,
	Guid? sessionId = null
)

Parameters

id
Type: SystemGuid
The ID of the account to impersonate.
tenantId (Optional)
Type: SystemNullableGuid
The ID of the tenant which will be associated with the impersonated session.
sessionId (Optional)
Type: SystemNullableGuid
Current session ID.

Return Value

Type: ActionResultSessionData
The operation completed successfully. The payload contains a SessionData object.
See Also