# TrackedChange.UserName Property

> Gets the name of the user who has changed the document. This parameter can be null or an empty string to indicate, that an unknown user has changed the document.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TrackedChange.UserName Property
- **422 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/trackedchange/username-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/trackedchange/username-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/trackedchange/username-property/llms-full.txt

---

### Description

Gets the name of the user who has changed the document. This parameter can be null or an empty string to indicate, that an unknown user has changed the document.

### Syntax

```csharp
public string UserName { get; }
```

```vbnet
Public ReadOnly Property UserName As String
```

### Examples

The following example navigates to the next revision authored by the review team.

```csharp
foreach (TrackedChange change in textControl.TrackedChanges)
{
    if (change.UserName == "Review Team")
    {
        change.ScrollTo();
        break;
    }
}
```

```vbnet
For Each change As TrackedChange In textControl.TrackedChanges
    If change.UserName = "Review Team" Then
        change.ScrollTo()
        Exit For
    End If
Next
```

---

## Nearby

- **Previous:** [TrackedChange.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/trackedchange/text-property/llms-full.txt)
- **Next:** [TrackedChangeCollection Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/trackedchangecollection/llms-full.txt)
