Table of Contents

Property GrantedPermissions

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GrantedPermissions

Gets the permissions granted for the current document.

public PdfPermissionsInfo GrantedPermissions { get; }

Property Value

PdfPermissionsInfo

The permissions granted for the current document.

Remarks

If the document was created from scratch, the permissions allow everything. For a not encrypted document that was opened, the permissions also allow everything.

For an encrypted document the permissions depend on the security properties specified during encryption. It is also important how the document was opened. For example, opening with owner password usually gives more permissions than opening with user password.

The Decrypt PDF documents in C# and VB.NET article describes how to process encrypted PDF documents.