How to assign a license to a user programatically (RTC API)
![]() Hi Team,
We are trying to load users to the RTC Project Area programatically by using API. As of now, we are able to add the user into RTC Repository. We are not able to find approach to perform below activities. 1. Assign license to the user 2. Add a user to a RTC Usergroup.
Please let us know if you have any approach or method to perform this.
Regards, Ratna Sekhar K |
5 answers
![]()
This blog has a good example how to assign a license to a user.
Hope this helps.
|
![]()
There is any constant field in the Java RTC-SDK which rappresent the "com.ibm.team.rtc.*" license IDs?
Thanks in advance.
|
![]()
hi josh and all,
i can not access your blog. can you help me this issue?
Comments 1
Well, Google's cache is your friend: http://webcache.googleusercontent.com/search?q=cache:http%3A//www.joshuabambrick.com/assign-client-access-license-rtc/. ;) thanks a lot :) |
![]()
Cache is not working. Can you please share any other link
Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Joshua's blog is down at the moment. (http://joshuabambrick.com/2016/09/06/website-restart/). See https://jazz.net/forum/questions/213832/can-we-assign-license-to-users-in-jke-banking-application-from-command-line and https://jazz.net/forum/questions/213832/can-we-assign-license-to-users-in-jke-banking-application-from-command-line
This is using the repotools.
This is an example how to assign the build license to a user: repotools-jts.sh -createUser adminUserId=<admin user> adminPassword=<admin password> userId=<user to assign license> jazzGroup='JazzUsers' licenseId='com.ibm.team.rtc.buildsystem'
|
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Mar 29 '17, 8:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Here is working code: https://rsjazz.wordpress.com/2017/03/29/managing-contributor-licenses-using-the-plain-java-client-libraries/ |