Skip to main content
License query, download, activation.

Constructors

NSLicenseAgent()

License query, download, activation.

Methods

ActivateLicenseInfo(NSExtendedLicenseInfo)

Saves a new license to the database.
Returns: CRMScript.NetServer.NSLicenseResult

AddLicenseFromFile(String)

Loads and activates a new license from file/string if the new license is valid.
Returns: CRMScript.NetServer.NSExtendedLicenseInfo Example:

AssignThirdPartyLicenses(Integer,String,String[])

Assigns third party licenses
Returns: CRMScript.NetServer.NSModuleLicenseLink[] Example:

ChangeSerialNumber(String,String)

Changes the new serial number for the installation. Requests a new license from SuperLicense, checks if change is authorized.
Returns: CRMScript.NetServer.NSLicenseResult Example:

GetLicenseForAllOwnersFromDB()

Gets all licenses, with usage, from all module owners as they are stored in the database
Returns: CRMScript.NetServer.NSExtendedLicenseInfo[]

GetLicenseFromDB(String)

Gets license, with usage, as it is stored in the database for one particular module owner.
Returns: CRMScript.NetServer.NSExtendedLicenseInfo Example:

GetLicenseFromFile(String)

Loads a new license from file
Returns: CRMScript.NetServer.NSExtendedLicenseInfo

GetLicenseFromLicenseServer(String)

Returns: CRMScript.NetServer.NSExtendedLicenseInfo

GetLicenseStatusFromLicenseServer(String)

Gets license information from the license server for a particular module owner.
Returns: CRMScript.NetServer.NSCheckLicenseStatusResult Example:

GetModuleLicenseFromDB(String,String)

Gets license information for one particular license module.
Returns: CRMScript.NetServer.NSModuleLicense Example:

GetModuleLicenseHistoryFromLicenseServer(NSExtendedLicenseInfo,NSExtendedModuleLicense)

Gets details about a license from the license server.
Returns: CRMScript.Global.String Example:

GetSatelliteLicenses(Integer)

Obtains information about satellite module licenses
Returns: CRMScript.NetServer.NSLicenseOwner[] Example:

GetShopUrl(String)

Gets the shop URL for the specified module owner.
Returns: CRMScript.Global.String
This can be used to redirect user to the web shop.
Example:

GetThirdPartyLicenseAssignments(Integer,String)

Gets license assignments for an associate for licenses belonging to an other module owner than SuperOffice
Returns: CRMScript.NetServer.NSModuleLicenseLink[] Example:

GetUserLicenses(Integer)

Obtains information about associate module licenses
Returns: CRMScript.NetServer.NSLicenseOwner[] Example:

GetUserLicensesMDOList()

Gets all licenses in an NSMDOListItem structure.
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

RemoveLicenseFromDB(String)

Removes the license from a particular module owner from the database.
Returns: CRMScript.NetServer.NSLicenseResult
It is not permitted to remove licenses from SuperOffice

UnassignThirdPartyLicenses(Integer,String,String[])

Unassigns (removes) third-party licenses
Returns: CRMScript.NetServer.NSModuleLicenseLink[] Example:

ValidateLicenseInfo(NSExtendedLicenseInfo)

Validates that a license is consistent.
Returns: CRMScript.NetServer.NSLicenseResult