How to assign licenses to users via the Plain Java API?
![]()
Distributed CLM 4.0.7 on Windows Servers.
Hi all, as part of my efforts to automate some regular manual RTC tasks, I'm building a utility to add users to teams, assign roles etc. but can't find a way to assign licenses. Is this possible using the plain Java API? |
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Nov 18 '16, 7:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I used https://www.google.com/search?q=assign+license+java+API+site:jazz.net and found one very old answer in the first few posts. The code example is a bit stunning, as the license service seems to be handled a bit special (it seems to be unavailable as a client library and needs a special way to be loaded). Once I had the Interface name, searching for it in the SDK showed some examples how to get it, that agree with the answer in the post however.
Cliff Gardiner selected this answer as the correct answer
Comments By the way, it is possible to use the repotools -createUser command to assign licenses. Thanks Ralph, I've spent hours with Google and Jazz.net as I've worked my way through adding team areas, adding users to them and assigning roles to the users and must have missed that along the way. I'll study that next ...
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You could have found most of the stuff here: https://rsjazz.wordpress.com/ I just haven't done the license upload.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Just a thought, have you treid to put a server install on your local machine (e.g. the plain zip version) and run the repotools against the company server? You provide a repo connection and I don't think it is a requirement to run the repotools on the server hardware.....
|
One other answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Mar 29 '17, 8:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The post from BamBytes was taken down and can no longer be found. I posted a new example: https://rsjazz.wordpress.com/2017/03/29/managing-contributor-licenses-using-the-plain-java-client-libraries/ . |