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
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Apr 19 '13, 6:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 19 '13, 12:34 p.m.
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
|
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.