PdfDocument.GrantedPermissions Property

Gets the permissions granted for the current document.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public PdfPermissionsInfo GrantedPermissions { get; }
Public ReadOnly Property GrantedPermissions As PdfPermissionsInfo

Property Value

Type: PdfPermissionsInfo
The permissions granted for the current document.


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.

See Also