TX Text Control .NET for Windows Forms

RegisteredUserNames Property

Property|Introduced in 25.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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

public string[] RegisteredUserNames { get; set; }

Examples

The following example uses RibbonPermissionsTab.RegisteredUserNames to configure registered user names as part of the ribbon permissions tab workflow. The change is then applied to the active document or user interface.

ribbonPermissionsTab.RegisteredUserNames = new string[] { "Editor" };
ribbonPermissionsTab.Update();