# RibbonPermissionsTab Class

> The RibbonPermissionsTab class represents a Windows Forms ribbon tab for determining how the document can be edited, when it is enforced to be protected.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 25.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Inherits:** `System.Windows.Forms.TabPage` › `TXTextControl.Windows.Forms.Ribbon.RibbonTab`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonPermissionsTab Class
- **1207 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/llms-full.txt

---

### Description

The RibbonPermissionsTab class represents a Windows Forms ribbon tab for [determining](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/documentpermissions/llms-full.txt) how the document can be edited, when it is enforced to be protected.

### Syntax

```csharp
public class RibbonPermissionsTab : RibbonTab
```

```vbnet
Public Class RibbonPermissionsTab
    Inherits RibbonTab
```

### Examples

The following example creates a Ribbon Permissions Tab instance and configures its allow adding user names setting for a document workflow.

```csharp
using TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab ribbonPermissionsTab = new();
ribbonPermissionsTab.AllowAddingUserNames = true;
```

```vbnet
Dim ribbonPermissionsTab As New TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab()
ribbonPermissionsTab.AllowAddingUserNames = True
```

---

## In This Section

- [RibbonPermissionsTab.AllowAddingUserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/allowaddingusernames-property/llms-full.txt): 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.
- [RibbonPermissionsTab Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/constructor/llms-full.txt): Initializes a new instance of the RibbonPermissionsTab class.
- [RibbonPermissionsTab.FindItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/finditem-method/llms-full.txt): Finds a control that has the provided RibbonPermissionsTab.RibbonItem identifier.
- [RibbonPermissionsTab.RegisteredUserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/registeredusernames-property/llms-full.txt): 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.
- [RibbonPermissionsTab.RibbonDropDownItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/ribbondropdownitem-enumeration/llms-full.txt): Each RibbonDropDownItem represents a drop-down item in the RibbonPermissionsTab. The corresponding string of a RibbonDropDownItem is the same as the item's Name property. The RibbonDropDownItem enumeration can be used with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon drop-down item.
- [RibbonPermissionsTab.RibbonItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/ribbonitem-enumeration/llms-full.txt): Each RibbonItem represents an item in the RibbonPermissionsTab that is not a drop-down item. The corresponding string of a RibbonItem is the same as the item's Name property. The RibbonItem enumeration can be used with the FindItem method to get an item and manipulate it or with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon item.

---

## Nearby

- **Previous:** [RibbonPageLayoutTab.RibbonItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpagelayouttab/ribbonitem-enumeration/llms-full.txt)
- **Next:** [RibbonPermissionsTab.AllowAddingUserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/allowaddingusernames-property/llms-full.txt)
