# Unable to specify user who acknowledged the alarm

**URL:** <https://forum.inductiveautomation.com/t/unable-to-specify-user-who-acknowledged-the-alarm/109442>\
**Category:** Module Development\
**Created:** [August 6, 2025, 6:47pm UTC](https://forum.inductiveautomation.com/t/unable-to-specify-user-who-acknowledged-the-alarm/109442 "2025-08-06T18:47:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![constantv](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@constantv](https://forum.inductiveautomation.com/u/constantv)\
**Post date:** [August 6, 2025, 6:47pm UTC](https://forum.inductiveautomation.com/t/unable-to-specify-user-who-acknowledged-the-alarm/109442/1 "2025-08-06T18:47:42Z")

</div>

In my module, I need to specify the user that acknowledged the alarm. In looking at SQL, it does not look like the ackUser is being captured at all. Below is my code:

```python
ackUserName = 'test user'
EventData alarmEventData = new EventData();
alarmEventData.set(CommonAlarmProperties.AckUserName, ackUserName);
alarmEventData.set(CommonAlarmProperties.AckNotes, comment);
Set<UUID> notAcknowledgedAlarms = alarmManager.acknowledgeBulk(alarmIDs, alarmEventData);

```

I think I read somewhere that I should use alarmEventData.set(CommonAlarmProperties.AckUser, ); but I cannot figure out how to set AckUser instead

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 6, 2025, 7:12pm UTC](https://forum.inductiveautomation.com/t/unable-to-specify-user-who-acknowledged-the-alarm/109442/2 "2025-08-06T19:12:34Z")

</div>

`AckUser` should be used, set with a `QualifiedPath` object that describes a username.

As in:

```java
var ackUser = QualifiedPath.of(WellKnownPathTypes.User, ackUserName)
alarmEventData.set(CommonAlarmProperties.AckUser, ackUser);

```

AckUserName should be automatically derived from AckUser, so no need to set it yourself.

---

<div class="post-metadata">

**Author:** ![constantv](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@constantv](https://forum.inductiveautomation.com/u/constantv)\
**Post date:** [August 10, 2025, 1:45pm UTC](https://forum.inductiveautomation.com/t/unable-to-specify-user-who-acknowledged-the-alarm/109442/3 "2025-08-10T13:45:56Z")

</div>

Works! Thank you!
