RegisteredUserNames Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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 configured value is checked before the workflow continues.
ribbonPermissionsTab.RegisteredUserNames = new string[] { "Editor" };
if (ribbonPermissionsTab.RegisteredUserNames != null)
{
Console.WriteLine("Ribbon Permissions Tab: Registered User Names is available.");
}ribbonPermissionsTab.RegisteredUserNames = New String() { "Editor" }
If ribbonPermissionsTab.RegisteredUserNames IsNot Nothing Then
Console.WriteLine("Ribbon Permissions Tab: Registered User Names is available.")
End If