Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



5 answers

Permanent link
This blog has a good example how to assign a license to a user.


Hope this helps.

2 votes


Permanent link
There is any constant field in the Java RTC-SDK which rappresent the "com.ibm.team.rtc.*" license IDs?
Thanks in advance.

0 votes


Permanent link
hi josh and all,

i can not access your blog. can you help me this issue?

0 votes

Comments

1 vote

 thanks a lot :)


Permanent link
 Cache is not working. Can you please share any other link

0 votes

Comments

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'



Permanent link

 Here is working code: https://rsjazz.wordpress.com/2017/03/29/managing-contributor-licenses-using-the-plain-java-client-libraries/

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,116

Question asked: Aug 22 '12, 8:31 a.m.

Question was seen: 8,574 times

Last updated: Mar 29 '17, 8:25 a.m.

Confirmation Cancel Confirm