TX Text Control .NET for Windows Forms

UserNames Property

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

Description

Gets or sets a list of names specifying users who have access to editable regions. When a document is set to read-only all editable regions that are related to these users can be edited.

Syntax

public string[] UserNames { get; set; }

Examples

The following example uses TextControl.UserNames to configure user names as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.UserNames = new string[] { "Editor" };
textControl.Update();