PasswordType enumeration

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

public enum PasswordType


Name Value Description
None 0 Pdf document is not password protected.
User 1 Pdf document was opened using document open password (restricted access).
Owner 2 Pdf document was opened using change permissions password (full access).
Inaccessible 3 Pdf 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