
Specifies the password for the user to open the document. If the password is an empty string the document can be opened by every user.
Introduced: 11.0.
[C#]
public string UserPassword { get; set; }
[Visual Basic]
Public Property UserPassword() As String
PDF only. The encryption key length is 128 bits.