# Javascript: RibbonPermissionsTab.registeredUserNames Property

> 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.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: RibbonPermissionsTab.registeredUserNames Property
- **200 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/ribbonpermissionstab/registeredusernames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/ribbonpermissionstab/registeredusernames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/ribbonpermissionstab/registeredusernames-property/llms-full.txt

---

### 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

```javascript
<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.

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

---

## Nearby

- **Previous:** [Javascript: RibbonPermissionsTab.allowAdditionalUserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/ribbonpermissionstab/allowadditionalusernames-property/llms-full.txt)
- **Next:** [RibbonTabIndexChangedCallback Function](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/ribbontabindexchangedcallback/llms-full.txt)
