DS Server

Javascript: RibbonPermissionsTab.registeredUserNames Property

Property|Introduced in 25.0

Description

Gets or sets an array of strings that represents those registered user names that can be added by the "Permissions" ribbon tab's Add Users dialog. The default value is an empty array.

Syntax

<string[]> RibbonPermissionsTab.registeredUserNames

Examples

The following example demonstrates RibbonPermissionsTab.registeredUserNames in a practical document-editing workflow. It gets or sets an array of strings that represents those registered user names that can be added by the "Permissions" ribbon tab's Add Users dialog. The default value is an empty array.

const registeredUserNames = TXTextControl.ribbonPermissionsTab.registeredUserNames;
console.log("registered user names:", registeredUserNames);