Creating project area and users programatically
Accepted answer
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)
If you want to create new users against Tomcat you can try to use
teamRepository.externalUserRegistryManager().addExternalUser(userId, password, name, emailAddress, groups, monitor)