LicenseProxy GetTenantLicense Method CelloSaaS API Documentation
This method is used to get the active tenant subscription license details. Returns TenantLicense object if the tenant has valid license else null if the subscription expires

Namespace: CelloSaaS.BusinessEdition.ServiceProxies.LicenseManagement
Assembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

public static TenantLicense GetTenantLicense(
	string tenantId
)

Parameters

tenantId
Type: System String
Tenant Identifier

Return Value

Type: TenantLicense
Tenant License Details
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrows ArgumentNullException if any mandatory argument is null or empty
[!:LicenseException]Throws LicenseException if any errors occurs in module license validate
Examples

public void GetAllLicensePackage()
{
    string tenantId = "B590CD25-3093-DF11-8DEB-001EC9DAB123";
    TenantLicense packageDetails = LicenseProxy.GetTenantLicense(tenantId);
}
See Also