• Show convenient version of this site
  • Deutsch
  • English
Contact
Newsletter
  • Products
    • ALS
      • Across Language Server
        • Translation Management
        • Terminology Management
        • Translation Memory
      • Editions
      • Interfaces
    • ATE
      • Across Translator Edition
      • Editions
      • Download
      • Across Account
    • Elanion
      • Overview
      • Login
  • Solutions
    • Customers
      • Enterprises
      • Language Service Providers
      • Translators
    • Industries
      • E-Commerce & Trade
      • Pharmaceuticals & medicine
      • IT & Software
    • Departments
      • Marketing & E-Commerce
      • Technical Documentation
      • Software User Interfaces
  • Services
    • Hosting
    • Training
    • Consulting
  • Partners
    • Language Service Providers
    • Universities
  • Company
    • Across Systems
    • News
    • Events
    • Career
    • Contact
  • Knowledge
    • Blog
    • Video Library
    • Case Studies
    • White Papers
    • Fact Sheets
    • File Formats
    • Expert Features
  • Support
    • New Functions
    • Online Help
    • FAQ
    • Support Request
    • Updates
Schedule Consultation
  • Online-Help
  • SDK
  • APIs
  • crossAPI SI
  • List of Objects in crossAPI SI
  • LicenseManager
  • General Information
    • Connectors
    • LCIDs
    • GUIDs
    • Paragraph states and flags
    • crossTerm Web
    • crossTransform
      • crossTransform - examples
  • Connecting Third-party Systems
    • crossConnect for content systems
      • Requirements
      • Configuration
        • Configuring the connector
        • Job configuration
        • Testing crossConnect
      • Troubleshooting
    • crossConnect for External Editing
      • Purpose and usage
        • Use case - Machine translation
        • Use Case - Review and QA
        • Use case - Machine review
      • Requirements
      • Implementation
        • Across XLIFF format
          • Across-specific Extensions
          • <xliff> Element Attributes
          • <file> Element Extensions
          • <trans-unit> Element Extension
          • Paragraph States
          • Paragraph State Flags
          • <source> and <target> Element Content
          • <bpt> Element Attributes
          • <ph> Element Attributes
          • <x> Element Attributes
          • Across-specific Properties
          • Analysis Results
          • Sample Files
          • Across XLIFF - import, export and segmentation
          • Context information
          • Exporting best matches in Across XLIFF
          • Hyperlinks to XLIFF
        • Secure file handling with C#
        • Secure file handling with JAVA
        • Workflow and vendor configuration
          • Adding workflows to crossAutomate Host Manager
          • Adjusting preset watchfolders
          • The filter rules
          • External editing workflows
        • Sample code - Integrated solution
    • Generic File Connector
      • Process Overview
      • Exchange Folder Structure
      • Package Format
        • Control File
  • Display Texts
    • Solution approaches
    • The Across solution in detail
    • Requirements
    • Integration
    • The display text format
      • Line height vs. line spacing
      • DT-XML format structure
        • DT-XML - Main elements
        • Children of paragraphStyles and characterStyles
        • Children of the sizeInfos element
        • Children of the paragraph element
        • DT-XML v5 example
        • DT-XML v4 example
    • The display text package
      • Creating a display text package
  • APIs
    • APIs - Technology
    • crossTank API v1
      • Requirements
      • Testing the crossTank API installation
      • OData-URLs in Chrome
      • Example
    • crossTank API v2
      • Requirements
      • QuickStart
        • Searching for Translations
        • Creating Translations
      • crossTank API v2 Overview
        • Finding Translations
        • Creating Translations
        • Translation Properties
        • Formatting and Auto-Adjustment of Formatting and Numbers
      • C# Example
    • crossTerm API v1
      • Scenarios of use
        • Example - usage information
        • Example - finding terms
      • Requirements
      • Special Controllers
      • OData-URLs in Chrome
      • crossTerm API with C#
      • crossTerm API with Java
      • crossTerm API with JavaScript
    • crossTerm API v2
      • Requirements
      • QuickStart
        • Authentication Basics
        • First Request Examples
      • crossTerm API v2 Example in C#
        • Used Functions
      • crossTank API, crossTerm API v2 - Authentication
      • crossTerm API v2 - Examples of Use
        • Finding Terms of Entry
        • Searching Terminology via API
    • crossAPI SI
      • Requirements
      • Function Return Types
      • crossAPI SI and Java
        • Example: hot integration
        • Executing the hot integration example
      • List of Objects in crossAPI SI
        • AssignManager
        • Authorization
        • CheckInManager
        • CheckOutManager
        • CrossTankManager
        • CrossTermManager
        • DocumentManager
        • FileManager
        • LanguageJobManager
        • LanguageManager
        • LicenseManager
        • Message
        • ObjectManager - Overview
          • Part 1
          • Part 2
          • Part 3
        • ReportManager
          • ID values for analysis and analysis-result
        • ProjectManager - Overview
          • Part 1
          • Part 2
          • Attribute Information
        • SqlQuery
        • SystemManager
        • TaskManager
        • WanGridManager - Overview
          • Part 1
          • Part 2
      • Sample - transferring checkout files via FileManager
      • Sample - VBS
    • Text Preprocessing API
      • Introduction
      • How to browse the API
      • Sentence splitting
      • Abbreviations

LicenseManager

  • Unless stated otherwise, all objects are available in the following Across versions:
  • 5.7
  • 6.0
  • 6.3
  • 7.0
Tip

Function-specific return values are listed with each function.

For more information on return values and a complete list of error codes, see Function Return Types.

Function
Description
LicenseManager.AssignLicenseToUser
Assigns a license to a user.
LicenseManager.CreateLicense
Creates a new license.
LicenseManager.DeleteLicense
Deletes a license.
LicenseManager.DisableLicense
Disables a license. Enables a license.
LicenseManager.EnableLicense
Enables a license.
LicenseManager.LicenseIdByName
Gets the ID of a license by its name.
LicenseManager.LicenseNameById
Gets the name of a license by its ID.
LicenseManager.SaveSoftkeyOfLicense
Saves the softkey of a specific license to a file.
LicenseManager.SetLicenseData
Sets the data of the specified license.
LicenseManager.UnassignLicenseFromUser
Unassigns a license from the assigned user.

LicenseManager.AssignLicenseToUser

Assigns a license to a user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license to be assigned to the specified user.
3
string
UserGuid
The GUID of the user.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
2
User does not exist.
Error
47
Unable to find license key.
Error
65
Unable to assign license to user.

LicenseManager.CreateLicense

Creates a new license.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
LicenseName
The name of the license.
3
bool
IsOnlineLicense
Specifies whether this license is an online or an offline license.

Return Values

Result
Type/Value
Interpretation
Success
int
The license ID.
Error
63
Unable to create license.
Error
69
The license already exists.

LicenseManager.DeleteLicense

Deletes a license.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license to be deleted.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
64
Unable to delete license.

LicenseManager.DisableLicense

Disables a license.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license to be disabled.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
118
Unable to delete license. Cannot switch license status.
Attention

The function will fail in case the user is currently logged in.

Tip

This is the opposite of the function EnableLicense.

LicenseManager.EnableLicense

Enables a license.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license to be enabled.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
118
Unable to delete license. Cannot switch license status.
Attention

The function will fail in case the user is currently logged in.

Tip

This is the opposite of the function DisableLicense.

LicenseManager.LicenseIdByName

Gets the ID of a license by its name.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
string
LicenseName
The name of the license.

Return Values

Result
Type/Value
Interpretation
Success
int
The license ID.
Error
47
Unable to find license key.

LicenseManager.LicenseNameById

Gets the name of a license by its ID.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license for which the name is to be returned.

Return Values

Result
Type/Value
Interpretation
Success
string
The license name.
Error
47
Unable to find license key.

LicenseManager.SaveSoftkeyOfLicense

Saves the softkey of a specific license to a file.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license for which the softkey is to be saved.
 
string
Path
The path to the target file where the softkey should be saved. The user account under which the crossAPI service runs needs to have write access to the containing directory.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
68
Unable to save softkey.

LicenseManager.SetLicenseData

Sets the data of the specified license.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license for which the data is to be set.
3
string
Description
The description that should be associated with the license.
4
string
Salutation
The salutation that should be associated with the license.
5
string
FirstName
The first name that should be associated with the license.
6
string
LastName
The last name that should be associated with the license.
7
string
Email
The e-mail address that should be associated with the license.
8
string
Street
The street that should be associated with the license.
9
string
City
The city that should be associated with the license.
10
string
Zip
The ZIP code that should be associated with the license.
11
string
Phone
The phone number that should be associated with the license.
12
string
Mobile
The mobile phone number that should be associated with the license.
13
string
Fax
The fax number that should be associated with the license.
14
string
Web
The web address that should be associated with the license.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
67
Unable to set license data.

LicenseManager.UnassignLicenseFromUser

Unassigns a license from the assigned user.

Parameters

 
Type
Name
Description
1
string
ST
A security token for use in other crossAPI SI functions.
2
int
LicenseID
The ID of the license to be unassigned from its user.

Return Values

Result
Type/Value
Interpretation
Success
Is always empty.
Error
47
Unable to find license key.
Error
66
Unable to unassign license from user.
Register for our Newsletter now

Our newsletter provides you with exclusive news about the Across Language Server, often even before the official announcement. The newsletter also provides you with early information on events, webinars, and training sessions.

  • Legal Notice
  • GTC
  • Privacy Statement
  • Cookies
  • info@across.net