LicenseProxy ValidateModuleLicense Method CelloSaaS API Documentation
Validates the tenant subscription package whether it contains the given module name.

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

public static bool ValidateModuleLicense(
	string moduleNameAccessed,
	string tenantId
)

Parameters

moduleNameAccessed
Type: System String
Module Name(Mandatory)
tenantId
Type: System String
Tenant Identifier(Mandatory)

Return Value

Type: Boolean
The True/False value
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 ValidateModuleLicense()
{
    string moduleName = "User";
    string tenantId = "B590CD25-3093-DF11-8DEB-001EC9DAB123";
    bool validModule = LicenseProxy.ValidateModuleLicense(moduleName, tenantId);
}
See Also