how to add users and roles to Team Area using Plain Java API ?
![](http://jazz.net/_images/myphoto/dfecef55f144f410d0ba94a0e7da952c.jpg)
2 answers
![](http://jazz.net/_images/myphoto/dfecef55f144f410d0ba94a0e7da952c.jpg)
Here is code to find process area (team/project) areas etc: https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/
If you have the process area, here is the API to add a contributor:
processArea.addMember(contributorHandle)
https://rsjazz.wordpress.com has other posts that describe how to get to the contributor handle from the ID.
If you have the process area, here is the API to add a contributor:
processArea.addMember(contributorHandle)
https://rsjazz.wordpress.com has other posts that describe how to get to the contributor handle from the ID.
![](http://jazz.net/_images/myphoto/dfecef55f144f410d0ba94a0e7da952c.jpg)
Hey Ralph, as near as I have been able to find adding a contributor to a Role in a Project Area cannot be done with the plain java api for 3.0.1 correct? And is the same true for setting the license also?
Comments
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
As adding members and setting roles for members in a project/team area is shown in the samples that ship with the Plain Java Client Libraries and I show it here too: https://rsjazz.wordpress.com/2013/09/18/deploying-templates-and-creating-projects-using-the-plain-java-clients-library/ this is a false assessment.
You can also set licenses, however it is a bit less straight forward and I have not done a sample. I just looked into the SDK and found where it is tested.
Comments
Kaushambi Singh
Jun 10 '13, 7:05 a.m.Please help with the answer.