DS Server

Javascript: TXTextControl.SaveSettings.userPassword Property

Property|Introduced in 28.0

Description

Specifies the password for the user when the document is reopened.

Syntax

<string> TXTextControl.SaveSettings.userPassword

Examples

The following example demonstrates TXTextControl.SaveSettings.userPassword in a practical document-editing workflow. It specifies the password for the user when the document is reopened.

function inspectUserPassword(saveSettings) {
    const userPassword = saveSettings.userPassword;
    console.log("user password:", userPassword);
}