Click or drag to resize

PdfDocumentOwnerPassword Property

Note: This API is now obsolete.

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

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[ObsoleteAttribute("This property is obsolete. Use PdfSaveOptions.SetOneTimePasswords() instead to provide the passwords for saving.", 
	true)]
public string OwnerPassword { get; set; }

Property Value

Type: String
Remarks
If a variant of Save is used that takes a ownerPassword parameter, that parameter will override this property. If the ownerPassword parameter is null, then this property will be used or the user password if the OwnerPassword property is null. 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