Apply policy operation (deprecated)

Secures the specified PDF document with an existing policy. This operation is deprecated in LiveCycle ES2. Use Protect Document operation instead.

For information about the General and Route Evaluation property groups, see Common operation properties.

Input properties

Properties to specify the PDF document to which to apply the policy, the document name, and the policy set. Optionally, you can specify the user profile and domain of the publisher.

Input PDF Document

A document value that represents the PDF document to secure with the policy.

If you provide a literal value, clicking the ellipsis button  opens the Select Asset dialog box. (See About Select Asset.)

Document Name

A string value that contains the name of the document. This value can have a maximum length of 50 single-byte characters and represents the name of the document audited by the Rights Management service.

If you provide a literal value, type the name of the document.

Policy Set Name

(Optional) A string value that specifies the policy set to use for securing the document. The value of My Policies is used if a policy set name is not provided.

If you provide a literal value, type the name of the policy set.

Policy Name

A string value that specifies the name of the policy to use to secure the document.

If you provide a literal value, type the name of the policy.

Publisher Username

(Optional) A string value that represents the user name of the User Manager user who is the publisher of the document. The Document Publisher controls the policy associated with a document. The Document Publisher’s identity is used to apply a policy to a document and has special permissions to remove a policy from a document or switch a policy on a document.

To use this property, specify a value for the Publisher Domain property as well.

For long-lived services, provide both Publisher Username and Publisher Domain values.

For short-lived services, if you do not provide values, the user name and domain are picked up from the user account that is used to invoke the process.

If you provide a literal value, type the publisher’s user profile.

Publisher Domain

(Optional) A string value that represents the name of the User Manager domain of the user who is the publisher of the document. To use this property, specify a value for the Publisher Username property as well.

If you provide a literal value, type the name of the publisher’s domain.

Output properties

Property for specifying the PDF document that the policy is applied to.

Result PDF Document

(Optional) The policy-protected PDF document. The data type is document.

Exceptions

This operation can throw an SDKException exception.

// Ethnio survey code removed