Aspose::Pdf::PasswordType enum

PasswordType enum

This enum represents known password types used for password protected pdf documents.

enum class PasswordType

Values

NameValueDescription
None0Pdf document is not password protected.
User1Pdf document was opened using document open password (restricted access).
Owner2Pdf document was opened using change permissions password (full access).
Inaccessible3Pdf document is password protected but both user and owner passwords are not empty and none of the passwords was defined or supplied password was incorrect. So it impossible to deduce the type of the password.

See Also