# CommentUserName Property

> Returns the name of the user who made the comment with the given CommentId, or an empty string for an unknown user; read only, run time only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CommentUserName Property
- **153 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentusername-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentusername-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentusername-property/llms-full.txt

---

Returns the name of the user who has commented the document. This parameter can be an empty string to indicate, that an unknown user has commented it.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.CommentUserName(CommentId)
```

### Parameters

| Parameter | Description |
|---|---|
| CommentId | Specifies a comment identifier. |

### Data Types

| Name | Data type |
|---|---|
| CommentId | Long |
| Property value | String |

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Commenting a document](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/comments/llms-full.txt)

---

## Nearby

- **Previous:** [CommentText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenttext-property/llms-full.txt)
- **Next:** [ConnectTools Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/connecttools-event/llms-full.txt)
