# Audit windows opened by users

**URL:** <https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819>\
**Category:** Archived Topics\
**Created:** [May 6, 2010, 9:22pm UTC](https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819 "2010-05-06T21:22:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 6, 2010, 9:22pm UTC](https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819/1 "2010-05-06T21:22:21Z")

</div>

I see there is a way to turn on auditing for projects and interactions to the database, but is there a way to keep a record of who, the name of a window, and when it was opened?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 6, 2010, 10:19pm UTC](https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819/2 "2010-05-06T22:19:06Z")

</div>

Ignition does not log this information automatically, however you can create a simple script yourself that is stored in the script modules that each window can call upon opening. The script would simply just run an insert query using the name of the window, the user that is logged in and the current timestamp.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 7, 2010, 6:41pm UTC](https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819/3 "2010-05-07T18:41:48Z")

</div>

This would require me to put code on every window in every project. Is there some other global way I could do it?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 7, 2010, 7:22pm UTC](https://forum.inductiveautomation.com/t/audit-windows-opened-by-users/1819/4 "2010-05-07T19:22:29Z")

</div>

No, you have to do it on each window. Sorry ☹
