|
||
The license per User uses the Windows user name and stores this name in the license file. Once the application is started, it checks if the user name is already stored in the license file and if not, it starts only if a free license is available. After the application has been terminated, the license is still in use. If a user is logged in with the same name on multiple PCs it is counted as one license.
The license file has to be on the server on a shared folder. Each application user needs a read/write access to the license file.
A user can be removed from the license file in the License Viewer. The license is then available for another user.
If a user logs in with the same user name in a network or Terminal Server / Citrix Server, a license per user would require only 1 license, because the Windows login name is used, which is the same on the local and remote PC. If a license per user should count a separate license for each session / PC, this is possible with the following command sequence:
•Retrieve Windows user name with GetLPWindowsUser - e.g. TOM
•Retrieve PC name with GetLPComputername - eg. PC1
•Add both values to one value - e.g. TOM on PC1
•Use PrepareAndCheck or Validate with this value (parameter name) and set the parameter: UseWindowsUser to false.
The definition in the project template for a license per User is <ModuleType>User</ModuleType>.
See also
Server Application, Service, Web Application