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 (24.4.0.1000)
Syntax
bool CanCreateAccount(
	LicenseSeatKind seatKind,
	bool isSeatReserved,
	Guid? tenantId
)

Parameters

seatKind
Type: Dundas.BI.LicensingLicenseSeatKind
The seat kind.
isSeatReserved
Type: SystemBoolean
A value indicating whether the account will use a reserved seat.
tenantId
Type: SystemNullableGuid
The tenant ID of the account.

Return Value

Type: 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