Skip to main content
Deprecated in 7.1.

Constructors

License()

Deprecated in 7.1.

License(String,String)

Deprecated in 7.1.

Methods

getInfo()

Deprecated in 7.1. Gets info about license key. Checks if its legal and print hostname and modules.
Returns: CRMScript.Global.String

getReasonInvalid()

Deprecated in 7.1. Checks if the license key is valid and returns the reason as a string.
Returns: CRMScript.Global.String - Reason why not valid or null string if valid.

getValue(String)

Deprecated in 7.1. Extracts a value from the license key.
Returns: CRMScript.Global.String
Available values:
  • users
  • The number of users
  • simUsers
  • The number of simultaneous users
  • readUsers
  • The number of read users
  • simReadUsers
  • The number of simultaneous read only users
  • companyId
  • ID of the company owning the key. (Only relevant internal use)
  • expire
  • Expire date
  • key
  • The license key as a text string

legalKey()

Deprecated in 7.1. Determines if a license key is legal or not.
Returns: CRMScript.Global.Bool - True if the key is legal.

toParser(Parser)

Deprecated in 7.1. Fills a Parser object with License values.
Returns: CRMScript.Global.Void