It's all about the answers!

Ask a question

Creating project area and users programatically

Elvin Jiang (1178) | asked Apr 18 '13, 9:35 p.m.
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

permanent link
Ralph Schoon (62.7k33643) | answered Apr 19 '13, 6:00 a.m.
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: then go here: 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

Elvin Jiang commented Apr 21 '13, 11:24 p.m.

many thanks!!

Your answer

Register or to post your answer.