How to prevent someone from borrowing a license

Tekla Structures
Not version-specific
Tekla Structures
license borrow tool error
restrict
license borrow
Environment
Not environment-specific
Question: We have some licenses we need to prevent from being borrowed by certain users. How can we do that?

Solution: You can define an allowed group in tekla.opt file located by default in C:\TeklaStructures\License\Server\.

NB! There is one special thing you need to remember: If you want to borrow a license which has been assigned to a user or a user group with keyword INCLUDE, you need to add a dummy user called "ACTIVATED LICENSE(S)" into the group of allowed users. Please make sure the dummy user is the last one in the GROUP list. If you don't add the dummy user to the GROUP the license borrowing won't work correctly and you may experience License Borrow Tool errors such as: "The license server or Operations server did not have enough licenses to satisfy the activation request" even though there should be free licenses.

If you use tekla.opt options file you need to use exported product identification (.tpi) file in Tekla Structures License Borrow Tool.

Example definition in tekla.opt:

GROUP steel user1 user2 user3 "ACTIVATED LICENSE(S)"
INCLUDE STD-C GROUP steel


This allows only user1, user2 and user3 who all belong to a group called steel to borrow Steel Detailing licenses. Other users can't borrow Steel Detailing licenses.
Was this helpful?