# Switching Vision Window based on operator logon

**URL:** <https://forum.inductiveautomation.com/t/switching-vision-window-based-on-operator-logon/75915>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [July 5, 2023, 12:57am UTC](https://forum.inductiveautomation.com/t/switching-vision-window-based-on-operator-logon/75915 "2023-07-05T00:57:49Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 24, 2023, 8:46am UTC](https://forum.inductiveautomation.com/t/switching-vision-window-based-on-operator-logon/75915/11 "2023-07-24T08:46:54Z")

</div>

> [@mandeep\_gill](#):
>
> any example code which i can look into how the privilege level to open up the window.

Here is a thread on that topic:

> [@Check if a user is allowed to open a window before opening it](https://forum.inductiveautomation.com/t/check-if-a-user-is-allowed-to-open-a-window-before-opening-it/17956):
>
> I wonder if it’s possible to check if a user is allowed to open a window before opening it. Like that, we could disable or even hide buttons that would other wise navigate to an inaccessible screen, without having to give the user that annoying error popup. Just defining the rights twice is no option, as our navigation bar is multi-layered, so the same button can open different screens depending on what section is selected in the layer above.

---

_[View the full topic](https://forum.inductiveautomation.com/t/switching-vision-window-based-on-operator-logon/75915)._
