# Accessing user source information in a vision window

**URL:** <https://forum.inductiveautomation.com/t/accessing-user-source-information-in-a-vision-window/106250>\
**Category:** Ignition\
**Tags:** vision, scripting\
**Created:** [May 14, 2025, 11:51am UTC](https://forum.inductiveautomation.com/t/accessing-user-source-information-in-a-vision-window/106250 "2025-05-14T11:51:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shan\_M](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@Shan\_M](https://forum.inductiveautomation.com/u/Shan_M)\
**Post date:** [May 14, 2025, 11:51am UTC](https://forum.inductiveautomation.com/t/accessing-user-source-information-in-a-vision-window/106250/1 "2025-05-14T11:51:16Z")

</div>

Hello, I was wondering if there is any way to access/set the "lockout attempts" configured for the project user source from a vision window?  
For that matter, is it possible to make any changes to the user source at all through a vision client application?

---

<div class="post-metadata">

**Author:** ![patrixmith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/patrixmith/32/75926_2.png) [@patrixmith](https://forum.inductiveautomation.com/u/patrixmith)\
**Post date:** [May 14, 2025, 8:58pm UTC](https://forum.inductiveautomation.com/t/accessing-user-source-information-in-a-vision-window/106250/2 "2025-05-14T20:58:54Z")

</div>

There are always ways....

There are methods in the javadocs, specially `com.inductiveautomation.ignition.gateway.user.UserSourceProfileRecord`, to get and set user source attributes.

You can also get the gateway context and query the internal database, but be cautious as you can break stuff pretty easily if you aren't careful.

If this isn't something you have done or are comfortable with, I would stick to setting these properties from the Gateway homepage.
