security Object : UserPassword Property |
Visual Basic |
---|
Public Property UserPassword As String |
Supplying the correct password enables the user to open the document, decrypt it, and display it on screen.
Setting the user password to an Empty String changes the document's security so a user password is no longer in use.