# Codesys Audit Trail and WebVisu

**URL:** <https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736>\
**Category:** CODESYS\
**Created:** [April 4, 2025, 1:07pm UTC](https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736 "2025-04-04T13:07:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjornidar](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bjornidar](https://www.wago.community/u/bjornidar)\
**Post date:** [April 4, 2025, 1:07pm UTC](https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736/1 "2025-04-04T13:07:03Z")

</div>

Hi,

has anyone been working on an Audit Trail solution when using WebVisu?  
Is it possible to retrieve the current username of each session - maybe this must be retrieved and written from the Visu- interface editor to get each session?

---

<div class="post-metadata">

**Author:** ![durallymax](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@durallymax](https://www.wago.community/u/durallymax)\
**Post date:** [April 14, 2025, 12:06pm UTC](https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736/2 "2025-04-14T12:06:02Z")

</div>

You can use the VisuUtils library to get information about the current client(s). The Interface “IVisualizationClient” contains a UserName property.

---

<div class="post-metadata">

**Author:** ![bjornidar](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bjornidar](https://www.wago.community/u/bjornidar)\
**Post date:** [April 23, 2025, 8:59am UTC](https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736/3 "2025-04-23T08:59:21Z")

</div>

Thank you! What about the specific/ current user(s) actions, how are these retrieved?

---

<div class="post-metadata">

**Author:** ![JohnDitter](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/johnditter/32/68_2.png) [@JohnDitter](https://www.wago.community/u/JohnDitter)\
**Post date:** [April 24, 2025, 5:05pm UTC](https://www.wago.community/t/codesys-audit-trail-and-webvisu/1736/4 "2025-04-24T17:05:57Z")

</div>

Here’s an example from CODESYS Forge that records changes in variable values triggered by user input within the visualization.

[CODESYS Forge - Visu Value Change Handler Example / Home / Home](https://forge.codesys.com/prj/codesys-example/visu-value-chan/home/Home/)
