Specifies the password for the user when the document is reopened. If the password is an empty string the document can be reopened by every user.

Introduced: 11.0.

Syntax

public string UserPassword { get; set; }
Public Property UserPassword() As String

Limitations

PDF only. The encryption key length is 128 bits.