RegisteredUserNames Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }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 change is then applied to the active document or user interface.
ribbonPermissionsTab.RegisteredUserNames = new string[] { "Editor" };
ribbonPermissionsTab.Update();ribbonPermissionsTab.RegisteredUserNames = New String() { "Editor" }
ribbonPermissionsTab.Update()