Activities
latest
false
Banner background image
Document Understanding Activities
Last updated 2024年3月28日

Manage PDF Password

UiPath.PDF.Activities.PDF.ManagePDFPassword

Changes the password of a specified PDF file.

Properties

Common
  • DisplayName - The display name of the activity.
File
  • FileName - The path of the PDF file whose password you want to manage. This field supports only strings and String variables.
  • NewOwnerPassword - The new owner password you want to set for the specified PDF file, if necessary. This password is used for setting certain document restrictions. This field supports only strings and String variables.
  • NewUserPassword - The new user password you want to set for the specified PDF file, if necessary. This password is required to open the document in Read Only mode. This field supports only strings and String variables.

    Note:
    • The NewOwnerPassword and NewUserPassword cannot coincide.
    • Changing or adding a User Password to a document already protected with an Owner Password requires inputting the Owner Password as well.
    • When the activity runs on an already protected document with the new password field empty, the existing password gets removed.
  • OldOwnerPassword - The old password of the owner, used for modifying certain document restrictions. This field supports only strings and String variables.
  • OldUserPassword - The old password of the user. This password is required to open the document in Read Only mode. This field supports only strings and String variables.

    Note: Recommended password length is of minimum six characters.
  • OutputFileName - The path where you want to save the resulting PDF file with the new password. If a file exists at the specified path, it is overwritten. This field supports only strings and String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

    Note: More information about securing PDFs with passwords can be found here.
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.