IContributor license assignment
![](http://jazz.net/_images/myphoto/bb9766035a6b7ecee3570859830e3354.jpg)
Accepted answer
One other answer
![](http://jazz.net/_images/myphoto/bb9766035a6b7ecee3570859830e3354.jpg)
IContributor newContributor = IContributor.ITEM_TYPE.createItem();
//configure the new contributor
repository.contributorManager().saveContributor(newContributor, null);
See ILicenseAdminService for assigning a license.
HTH
Darin
Jazz Process Team
"marly" <marly> wrote in message
news:hen005$9si$1@localhost.localdomain...
//configure the new contributor
repository.contributorManager().saveContributor(newContributor, null);
See ILicenseAdminService for assigning a license.
HTH
Darin
Jazz Process Team
"marly" <marly> wrote in message
news:hen005$9si$1@localhost.localdomain...
Hello,
How can I create a contributor programmatically:
The lContributorManager doesn't have a createContributor API. I can
only get existing users via
repository.contributorManager().fetchContributorByUserId(name,
monitor)
Also how can I then assign a license programmatically to a user?
Thank you for your help.