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

Creating project area and users programatically

we need to create project area via C# or java code and also create users in this way, all the paramaters are got from another platform, anyone can help? expecting your anwser

0 votes


Accepted answer

Permanent link
If you want to add users with roles to a project area, the code you need is in the snippet3 of the plain Java Client Libraries. If you are not aware what that is, start here: http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ then go here: http://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ and look into the snippet 3.

If you want to create new users against Tomcat you can try to use

teamRepository.externalUserRegistryManager().addExternalUser(userId, password, name, emailAddress, groups, monitor)
Elvin Jiang selected this answer as the correct answer

1 vote

Comments

many thanks!!

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
× 10,937

Question asked: Apr 18 '13, 9:35 p.m.

Question was seen: 5,137 times

Last updated: Apr 21 '13, 11:24 p.m.

Confirmation Cancel Confirm