Represents a single module license info.
Constructors
NSModuleLicense()
Initializes a new instance of the NSModuleLicense class.
Methods
GetAllowedUserType()
Returns: CRMScript.Global.Integer - Allowed associate type for user licenses internal(0), external(4).
Example:
Returns: CRMScript.Global.Integer - Unspecified extra flags of license, part of checksum. Value=1 means this a ‘user plan’; such licenses cause the admin gui to switch to radiobutton view.
Example:
Returns: CRMScript.Global.String - Free field, can be used by the module owner (for example host domain, for Service).
For rows with extraFlags=1 this field contains the list of modules that this plan comprises
Example:
GetIsHidden()
Returns: CRMScript.Global.Bool - If true, then this module should not appear in GUI and is not assignable by users.
Example:
GetLicenseType()
Returns: CRMScript.Global.Integer - Entire system, per database, or per associate. See <xref href=“CRMScript.NetServer.LicenseType” data-throw-if-not-resolved=“false”></xref>.
Example:
GetModuleDescription()
Returns: CRMScript.Global.String - Human-readable description of module, shown in GUI, default language.
Additional languages can be added to LocaleText, resource type 25
Example:
GetModuleName()
Returns: CRMScript.Global.String - The name of the module, not visible in GUI but used in the code.
This must be in UPPER CASE and only contain A-Z and 0-9. NO EXTENDED CHARACTERS please.
Example:
Returns: CRMScript.Global.String - Tooltip text, anything you want; shown when the cursor hovers over the line in the GUI. Default language.
Additional languages can be added to LocaleText, resource type 27
Example:
GetModuleVersion()
Returns: CRMScript.Global.String - Version string for this module.
Example:
GetNumberOfLicenses()
Returns: CRMScript.Global.Integer - Number of licenses purchased.
Example:
GetOwnerName()
Returns: CRMScript.Global.String - The name of the module owner, not visible in GUI but used in the code.
OwnerName SUPEROFFICE is reserved and may NEVER be used by partners. This must be in UPPER CASE and only contain A-Z and 0-9. NO EXTENDED CHARACTERS please.
Example:
GetPrerequisiteModuleName()
Returns: CRMScript.Global.String - If set, specifies a module license needed before this license can be granted.
Example:
GetSignature()
Returns: CRMScript.Global.String - Signature that verifies that this row is correctly transferred from SuperLicense.
Example:
GetSortOrder()
Returns: CRMScript.Global.Integer - Ordering value, generated by SuperLicense and transferred here. Must be followed for signatures to be correct.
Example:
GetUnrestricted()
Returns: CRMScript.Global.Bool - If true, then there is no licenseNumber limit on how many of these modules may be assigned.
Example:
SetAllowedUserType(Integer)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
For rows with extraFlags=1 this field contains the list of modules that this plan comprises
Example:
SetIsHidden(Bool)
Returns: CRMScript.Global.Void
Example:
SetLicenseType(Integer)
Sets the licence type.
Returns: CRMScript.Global.Void
Example:
SetModuleDescription(String)
Returns: CRMScript.Global.Void
Additional languages can be added to LocaleText, resource type 25
Example:
SetModuleName(String)
Returns: CRMScript.Global.Void
Example:
Returns: CRMScript.Global.Void
Additional languages can be added to LocaleText, resource type 27
Example:
SetModuleVersion(String)
Returns: CRMScript.Global.Void
Example:
SetNumberOfLicenses(Integer)
Returns: CRMScript.Global.Void
Example:
SetOwnerName(String)
Returns: CRMScript.Global.Void
Example:
SetPrerequisiteModuleName(String)
Returns: CRMScript.Global.Void
Example:
SetSignature(String)
Returns: CRMScript.Global.Void
Example:
SetSortOrder(Integer)
Returns: CRMScript.Global.Void
Example:
SetUnrestricted(Bool)
Returns: CRMScript.Global.Void
Example: