Specifies the value of the user password of the PDF document. If the number of characters in the password string is more than (MAX_PASSWORD_LNG - 1) the method returns FALSE.
SetPdfUserPassword (pBlackIceDEVMODE As Long, szPassword As String) As Boolean
Input value - pointer to the BlackIceDEVMODE structure.
- value of the password to set.
Return value - TRUE on success, otherwise FALSE.
NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.