# RibbonPermissionsTab.RegisteredUserNames Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > RibbonPermissionsTab.RegisteredUserNames Property
- **469 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/registeredusernames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/registeredusernames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/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 RibbonPermissionsTab's Add Users dialog. The default value is an empty array.

### Syntax

```csharp
public string[] RegisteredUserNames { get; set; }
```

```vbnet
Public Property RegisteredUserNames As String()
```

### Examples

The following example uses `RibbonPermissionsTab.RegisteredUserNames` to configure registered user names as part of the ribbon permissions tab workflow. The configured value is checked before the workflow continues.

```csharp
ribbonPermissionsTab.RegisteredUserNames = new string[] { "Editor" };
if (ribbonPermissionsTab.RegisteredUserNames != null)
{
    Console.WriteLine("Ribbon Permissions Tab: Registered User Names is available.");
}
```

```vbnet
ribbonPermissionsTab.RegisteredUserNames = New String() { "Editor" }
If ribbonPermissionsTab.RegisteredUserNames IsNot Nothing Then
    Console.WriteLine("Ribbon Permissions Tab: Registered User Names is available.")
End If
```

---

## Nearby

- **Previous:** [RibbonPermissionsTab Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/constructor/llms-full.txt)
- **Next:** [RibbonPermissionsTab.RibbonItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/ribbonitem-enumeration/llms-full.txt)
