PdfStandardEncryptionHandler.UserPassword Property

Gets the user password to use while encrypting data.

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

Syntax

C#
public string UserPassword { get; }
VB
Public ReadOnly Property UserPassword As String
	Get

Property Value

Type: String
The user password to use while encrypting data.

Remarks

User password allows limited access to the document. You can setup permissions for users of the document using UserPermissions property.

If user password is null or empty string and OwnerPassword is not null or empty string, then users of the encrypted document will be able to open it without a password.

If user password is not null or empty string and owner password is null or empty string, then document will be saved with the same value for user and owner passwords.

See Also