# How to know which user shelved an alarm?

**URL:** <https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [June 12, 2025, 9:38pm UTC](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352 "2025-06-12T21:38:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 12, 2025, 11:24pm UTC](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352/4 "2025-06-12T23:24:37Z")

</div>

> [@\[IGN-5824\]Ignition - Gateway shelf Alarm script](https://forum.inductiveautomation.com/t/ign-5824-ignition-gateway-shelf-alarm-script/69262/3):
>
> The system.alarm.shelve implementation is hardcoded to use gateway-script as the user ID, likely because it long predates Perspective, and thus there would never be multiple users interacting with the gateway. We can and will amend that to allow for passing more information in, but, in the meantime, you can work around it fairly easy. You'll need to get a GatewayContext - there's examples floating around the forums on how to do that, or you can use [Ignition Extensions](https://forum.inductiveautomation.com/t/ignition-extensions-convenience-utilities-for-advanced-users/64615), my unofficial set of usef…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352)._
