Javascript: TXTextControl.LoadSettings.userPassword Property
Description
Specifies the password for the user to open a password protected document.
Syntax
<string> TXTextControl.LoadSettings.userPasswordExamples
The following example demonstrates TXTextControl.LoadSettings.userPassword in a practical document-editing workflow. It specifies the password for the user to open a password protected document.
function inspectUserPassword(loadSettings) {
const userPassword = loadSettings.userPassword;
console.log("user password:", userPassword);
}