Configure the licenseUsers.xml File
Important Notice for ReadyAPI Customers
Starting from ReadyAPI 3.62.0, VirtServer 3.29.0, and TestEngine 1.34.0, SmartBear Product Family has fully deprecated file-based licenses and transitioned to the ID-based SmartBear License Management (SLM) system. Any customers still using file-based licenses must complete their migration to SLM by September 30, 2025.
From October 1, 2025, existing and activated file-based licenses will continue to work for some time. However, SmartBear will no longer generate new file-based licenses or support activation and deactivation of file-based licenses in ReadyAPI, VirtServer, or TestEngine. All new and updated licenses are now issued in SLM only.
All technical support for file-based licenses has now ceased, and SmartBear no longer maintains the file-based licensing system. Any access or service issues will result in service disruptions that we will not be able to restore.
If you have not completed the process of migrating, contact your Account Manager or SmartBear representative today. Our teams are ready to assist with smooth transition strategies. For additional support, log a request with our SmartBear Support, who are standing by to help.
For further information and timelines, refer to the File-Based License End-of-Life Policy page.
You can manage the list of users having access to your floating license by editing the licenseUsers.xml file on your Licensing Server. This file is located in the <Protection! Licensing Server installation>\conf folder, for example, C:\Program Files\ProtectionLS 4.9.0\conf.
Note
Besides that, you can use the Licensing Server Management Console.
This section describes how to add, remove, and edit data for license users by using this approach.
Lock changes
Before you start changing user permissions, create an empty licenseUsers.xml.lck file. It allows you to prevent simultaneous changes by several users and data loss. The file lock will be automatically removed 1 minute after you have saved the changes made to licenseUsers.xml. If it is not, delete the file manually.
File structure
The licenseUsers.xml file has the following elements:
Element | Description |
|---|---|
| The root element which includes all elements with user, group, and license data. |
| A
|
| A
NoteTo learn more about LDAP users, see Work With LDAP Servers. |
| A |
| A |
| A |
| A |
| A |
Add a user
To allow users to use a license, add them to the list of users:
Open
licenseUsers.xml.Add the
userelement to thelicense_usersroot element. It should have the following attributes:Attribute
Value
idAn integer associated with a user.
nameUsername.
userNameUser's system name.
Important
This value is case-sensitive.
hostUser's computer name.
IPAddressUser's private IP address.
For example:
<user id="1" name="John Smith" userName="john.smith" host="localhost" IPAddress="192.168.1.108"/>Save the file.
Restart the Licensing Server service to apply the changes.
Add a group of users
To assign a group of users to a license, create a group and add the users as group members:
Open
licenseUsers.xml.To the
license_usersroot element, add thegroupelement with the following attributes:Attribute
Value
idAn integer associated with a group.
nameA user group descriptive name.
hostUser computer names that belong to the group. You can use the
*and?wildcards here.IPAddressPrivate IP addresses of users that belong to the group. You can use the
*and?wildcards here.For example:
<group id="1" name="Everyone" host="*" IPAddress="*.*.*.*"/>To the
groupelement, add thememberchild element and enter theidof the user you want to add to the group.For example:
<group id="1" name="Everyone" host="*" IPAddress="*.*.*.*"> <member id="1"/> </group>Save the file.
To apply the changes, restart the Licensing Server service.
Assign a license to users
To allow a user to use a license:
Open
licenseUsers.xml.To the
licenseelement, add thegrant_userelement with theidattribute, whereidis an id attribute of the user to which you want to assign the license.For example, the following line assigns a license to the user created above:
<grant_user id="1"/>To apply changes, restart the Licensing Server service.
To allow the group of users to use a license:
Open
licenseUsers.xml.To the
licenseelement, add thegrant_groupelement with theidattribute, whereidis an id attribute of the group to which you want to assign the license.For example, the following line assigns a license to the group created above:
<grant_group id="1"/>
To apply changes, restart the Licensing Server service.
Delete a user or a group
To remove a user or a group, delete the corresponding element from the file and save the changes. For example, deleting the grant_user element from the license disallows the corresponding user to use a license. Deleting the user element from license_users removes the user from the list of users.
Example
Here is a sample content of the licenseUsers.xml file: