The ILicenseService type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ActivateTenantLicense |
Activates the given tenant's subscription by creating new subscription license form last subscription.
| |
DeactivateTenantLicense |
Deactivates the given tenant's subscription by modifying the Validity End Date to now
| |
GetAllModules |
This method is used to get all the module details
| |
GetAllPackageDetails(String) |
Returns all the subscription packages created by the given tenantId
| |
GetAssignableLicensePackages |
This method is used to get all assignable license packages excluding evaluation packages.
| |
GetFeatureByModuleIds |
This method is used to get all the feature details for given module ids
| |
GetInActiveTenantLicense |
This method is used to get last active tenant license
| |
GetLicenseUsageDetailsByUsageType |
This method is used to get the usage details based on the usage type and tenant id
| |
GetPackageDetails |
This method is used to get active subscription package details.
| |
GetPackageDetails(String) |
This method is used to get active subscription packages created by the given tenantId.
| |
GetPackageDetailsByPackageId |
This method is used to get the package details by package identifier.
| |
GetTenantLicense |
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
| |
GetTenantLicenseHistory |
This method is used to get tenant license history details.
| |
GetUsageByModuleIds |
This method is used to get usage details for modules
| |
GetUsageStatus |
Gets the usage status for the given usage name and amount to be incremented.
Checks whether the given amount can be incremented without crossing the max capacity limit set in the subscription package.
| |
InsertPackage |
This method is used to insert package details.
| |
InsertTenantLicense |
This method is to insert the license for tenant.
| |
SearchTenantLicenses |
Searches the tenant licenses
Key is tenantId, value is TenantLicense
| |
UpdatePackage |
This method is used to update the package details.
| |
UpdateTenantLicense |
Updates the given tenant's subscription license
| |
ValidateModuleLicense |
Validates the tenant subscription package whether it contains the given module name.
| |
ValidateTenantLicense |
Validates the tenant subscription package.
Returns "true" If the validatity end date is greater than now (current datetime)
else "false"
| |
ValidateUsageLicense |
This method is used to validate license for usage limit of tenant.
|
See Also