Click or drag to resize

PdfDocumentUserPassword Property

Sets or gets a password to use for the user password for the document.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public string UserPassword { get; set; }

Property Value

Type: String
Remarks
If a variant of Save is used that takes a userPassword parameter, that parameter will override this property. If the userPassword parameter is null, then this property will be used. PDF documents have two passwords associated with them, a user password and an owner password. If an encrypted document is opened by a conforming reader using the owner password, then the security Permissions are ignored. If an encrypted document is opened by a conforming reader using the user password, then the security Permissions are enforced. When a document is created with only one password or one unique password, it is considered the same as having only an owner password.
See Also