# Javascript: CommentedTextInfo.userName Property

> The name of the user who made the comment.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: CommentedTextInfo.userName Property
- **163 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/username-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/username-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/username-property/llms-full.txt

---

### Description

The name of the user who made the comment.

### Syntax

```javascript
<String> CommentedTextInfo.userName
```

### Examples

The following example demonstrates `CommentedTextInfo.userName` in a practical document-editing workflow. The name of the user who made the comment.

```javascript
function inspectUserName(commentedTextInfo) {
    const userName = commentedTextInfo.userName;
    console.log("user name:", userName);
}
```

---

## Nearby

- **Previous:** [Javascript: CommentedTextInfo.start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commentedtextinfo/start-property/llms-full.txt)
- **Next:** [CommentEventArgs Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/commenteventargs/llms-full.txt)
