IContributor license assignment
Hello,
How can I assign a license programmatically to a newly created contributor? Thank you for your help. |
Accepted answer
Try this... LicenseAdminLibrary licenseAdminLibrary = new LicenseAdminLibrary(teamRepository); licenseAdminLibrary.assignLicense(contributor, licenseId, monitor); Ralph Schoon selected this answer as the correct answer
|
One other answer
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... Hello, |
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.