ILicenseServiceCanCreateAccount Method

Determines whether an account using the specified seat kind can be created.

Namespace: Dundas.BI.Licensing
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
bool CanCreateAccount(
	LicenseSeatKind seatKind,
	bool isSeatReserved,
	Guid? tenantId
)

Parameters

seatKind  LicenseSeatKind
The seat kind.
isSeatReserved  Boolean
A value indicating whether the account will use a reserved seat.
tenantId  NullableGuid
The tenant ID of the account.

Return Value

Boolean
if there are enough seats left to create the account; otherwise, .
Exceptions
ExceptionCondition
ArgumentExceptiontenantId is Empty.
ArgumentOutOfRangeExceptionseatKind is not one of the LicenseSeatKind values.
NoPrivilegeException

The caller does not have system administration privileges.

-or-

The caller does not have administrative privileges for the tenant.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also