How to get a list of all users with "Spotfire Analyst" license in Spotfire Server
This article describes a way to get a list of all users with "Spotfire Analyst" license enabled, and, more generally, get a report of all licenses set on the Spotfire Server.
The show-named-user-licenses and show-licenses commands can be used to create a report file that shows licenses set on the Spotfire Server. On the computer running Spotfire Server, open a command line as an administrator and change the directory to the location of the config.bat file (config.sh on Linux). The default location is <server installation dir>/tomcat/spotfire-bin. This is where you execute these commands. For example:
config show-licenses --expand-groups=true --force-overwrite=true
config show-named-user-licenses
You can read the result file in Spotfire. The file has headers that explain the contents displayed in the columns. The column "From Group" contains the group on which the license is explicitly set. For every group that has a license set explicitly, the resulting groups and users (if the expand option is set) are shown once.
Users get the sum of all licenses (and functions). When you analyze the file, note that a user and a license might occur more than once if the user gets its licenses from more than one group with explicit licenses set.
The number of licenses are calculated as follows:
- The number of Spotfire Analyst licenses is equal to the number of unique users in all groups with the Spotfire Analyst (Spotfire.Dxp.Professional) license enabled.
- The number of Spotfire Business Author (Spotfire.Dxp.WebAnalyzer) licenses is equal to the number of unique users in all groups with the Spotfire Business Author licenses enabled minus Number of Spotfire Analyst licenses.
- The number of Spotfire Consumer licenses is equal to the number of unique users in all groups with the the Spotfire Consumer (Spotfire.Dxp.WebPlayer) license or the TIBCO Spotfire Enterprise Player(Spotfire.Dxp.EnterprisePlayer) license enabled minus the number of Spotfire Business Author licenses minus the number of Spotfire Analyst licenses.
Documentation reference: show-licenses: