LicenseManager Class
The LicenseManager class is used to manage Bitrix24 license data. It extends the functionality of AbstractHelper and provides methods for retrieving license data and configuring parameters for the restriction manager.
TIP
You can test working with LicenseManager in this example.
Getters
data
ts
get data(): TypeLicenseReturns the license data of type TypeLicense.
Methods
makeRestrictionManagerParams
ts
makeRestrictionManagerParams(): voidCalled automatically during data initialization.
Configures the parameters of the RestrictionManager based on the license.
For Enterprise, it uses RestrictionManagerParamsForEnterprise.
Data Types
TypeLicense
The TypeLicense type represents information about the application's license.
languageId: null|string: Language code.license: null|string: Tariff designation with region indication.licenseType: null|string: Internal tariff designation without region indication.licensePrevious: null|string: Previous license value.licenseFamily: null|string: Tariff designation without region indication.isSelfHosted: boolean: Flag indicating whether it is a self-hosted (true) or cloud (false) version.