ILicenseServiceGetLicenseSeatUsage Method (NullableGuid)

Gets the licensed seat usage for the specified tenant.

Namespace:  Dundas.BI.Licensing
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
LicenseSeatUsage GetLicenseSeatUsage(
	Guid? tenantId
)

Parameters

tenantId
Type: SystemNullableGuid
The ID of the tenant, or to get the usage for accounts which are not associated with any tenant.

Return Value

Type: LicenseSeatUsage
The licensed seat usage for the specified tenant.
Exceptions
ExceptionCondition
ArgumentExceptiontenantId is Empty.
NotFoundExceptionA tenant with the given ID does not exist.
NotSupportedException A tenant ID is specified but the multi-tenancy features of the application are not enabled.
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.
Remarks

If the tenant draws a particular SeatCount property from the global pool, the value of that property in TotalCount will be MaxValue - 1 unless the caller is a system administrator.

The AllocatedToTenantsCount property in the result will always be Zero.

See Also