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, |