Javascript: DocumentEditorSettings.userNames Property
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.userNamesExamples
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);
}