Open this page in the API Guide

LicenseController.CanCreateAccount Method

Check against the license to see if an account can be created.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpGetAttribute("CanCreateAccount/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> CanCreateAccount(
	Guid id,
	LicenseSeatKind seatKind,
	bool isSeatReserved,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
The tenant ID the account will be a part of. If any.
seatKind
Type: Dundas.BI.Licensing.LicenseSeatKind
The LicenseSeatKind that the account will be.
isSeatReserved
Type: System.Boolean
A value indicating whether the account will use a reserved seat.
sessionId (Optional)
Type: System.Nullable<Guid>
The current session ID.

Return Value

Type: ActionResult<Boolean>
The operation completed successfully. The payload contains a Boolean object.
See Also