activities
latest
false
UiPath logo, featuring letters U and I in white

Document Understanding Activities

Last updated Dec 5, 2024

Manage PDF Password

UiPath.PDF.Activities.PDF.ManagePDFPassword

Description

Changes the password of a specified PDF file.

Project compatibility

Windows-Legacy | Windows

Configuration

Designer panel
  • FileName - The path of the PDF file whose password you want to manage. This field supports only strings and String variables.
  • 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.
Properties panel

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: Visit Securing PDFs with passwords for more information about securing PDFs with passwords.
  • Description
  • Project compatibility
  • Configuration

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.