Expand my Community achievements bar.

switching a policy through the java api with license id

Avatar

Level 2

Is it possible to switch the policy on a document through the java api with only the license id?

I see that it is possible to remove and apply policy, but those require the actual document as a parameter.

I no longer have access to the document.

I just want to switch the policy for a license id through the java api as I can do through the admin ui.

Thanks in advance

1 Reply

Avatar

Level 2

Nevermind, I found the changeLicensePolicy method on the LicenseManager