TX Text Control .NET Server

Javascript: DocumentEditorSettings.userNames Property

Property|Introduced in 32.0

Description

Optional. An array of names specifying users who have access to editable regions. When a document is set to read-only all editable regions that are related to these users can be edited.

Syntax

<string[]> DocumentEditorSettings.userNames

Examples

The following example demonstrates DocumentEditorSettings.userNames in a practical document-editing workflow. Optional. An array of names specifying users who have access to editable regions. When a document is set to read-only all editable regions that are related to these users can be edited.

function inspectUserNames(documentEditorSettings) {
    const userNames = documentEditorSettings.userNames;
    console.log("user names:", userNames);
}