• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Document is Protected - How do I Enter Permissions Password?

New Here ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

i know the password , but removing protection is failing

emoveProtectionOperation removeProtectionOperation = RemoveProtectionOperation.CreateNew();

// Set operation input from a source file.
FileRef sourceFileRef = FileRef.CreateFromLocalFile(@"test.docx");
removeProtectionOperation.SetInput(sourceFileRef);

// Set the password for removing security from a PDF document.
removeProtectionOperation.SetPassword("password");

// Execute the operation.
FileRef result = removeProtectionOperation.Execute(executionContext);

Views

36

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

LATEST

You are trying to remove a password from a Word doc, not a PDF. That won't work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources