# RibbonPermissionsTab.AllowAddingUserNames Property

> Gets or sets a value indicating whether the user can add user names by the RibbonPermissionsTab's Add Users dialog that are not represented by the RegisteredUserNames property. The default value is true.

- **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.AllowAddingUserNames Property
- **434 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/allowaddingusernames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/allowaddingusernames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/allowaddingusernames-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the user can add user names by the RibbonPermissionsTab's Add Users dialog that are not represented by the [RegisteredUserNames](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/registeredusernames-property/llms-full.txt) property. The default value is true.

### Syntax

```csharp
public bool AllowAddingUserNames { get; set; }
```

```vbnet
Public Property AllowAddingUserNames As Boolean
```

### Examples

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

```csharp
ribbonPermissionsTab.AllowAddingUserNames = true;
if (ribbonPermissionsTab.AllowAddingUserNames)
{
    Console.WriteLine("Ribbon Permissions Tab: Allow Adding User Names is enabled.");
}
```

```vbnet
ribbonPermissionsTab.AllowAddingUserNames = True
If ribbonPermissionsTab.AllowAddingUserNames Then
    Console.WriteLine("Ribbon Permissions Tab: Allow Adding User Names is enabled.")
End If
```

---

## Nearby

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