# Redirecting based on logged in user

**URL:** <https://forum.inductiveautomation.com/t/redirecting-based-on-logged-in-user/58687>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 21, 2022, 1:12pm UTC](https://forum.inductiveautomation.com/t/redirecting-based-on-logged-in-user/58687 "2022-04-21T13:12:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [April 25, 2022, 1:51pm UTC](https://forum.inductiveautomation.com/t/redirecting-based-on-logged-in-user/58687/6 "2022-04-25T13:51:12Z")

</div>

> [@Dean\_Walsh](#):
>
> not need to see the other pages

Is this for security? because that would be poor security. You need to add security to the views itself too.

There are session event scripts for perspective too tho, but i doubt it will work aswell.

Edit yeah it wont work:

> [@Perspective - navigate on startup](https://forum.inductiveautomation.com/t/perspective-navigate-on-startup/26064):
>
> Hello! I’m trying to use system.perspective.navigate on a Session Startup event. Essentially I’m looking at specific attributes of the user and letting them either pass through to the main view or directing them to an option select view. onlyPlants = ['Plant 1','Plant 2','Plant 3'] session.custom.plantSelect.plantList = onlyPlants if len(onlyPlants) == 1: session.custom.plantSelect.plantNumber = onlyPlants[0] else: session.custom.plantSelect.plantNum…

---

_[View the full topic](https://forum.inductiveautomation.com/t/redirecting-based-on-logged-in-user/58687)._
