# Missing Key in Docs: system.perspective.getSessionInfo

**URL:** <https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 6, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483 "2023-02-06T14:40:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 6, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483/1 "2023-02-06T14:40:26Z")

</div>

I noticed while porting a vision project script to a perspective version that the manual is missing the `"authorized":true` key documentation. Also, I'm surprised that I can't call this function, for testing, from anywhere except from a view. I would expect this function to not be limited to perspective scope.

[system.perspective.getSessionInfo - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getSessionInfo)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 6, 2023, 4:18pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483/2 "2023-02-06T16:18:31Z")

</div>

> [@dkhayes117](#):
>
> I would expect this function to not be limited to perspective scope.

~~?? Everything under `system.perspective.*` is only available in Perspective.~~

Oops. This would be one of the two functions that are the exceptions. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 6, 2023, 4:29pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483/3 "2023-02-06T16:29:22Z")

</div>

Well, `system.perspective.getProjectInfo()` and `system.perspective.getSessionInfo()` are _supposed_ to work from anywhere, since they're giving you meta information. And then _technically_ the other functions can be called from anywhere on the gateway, you'll just have to explicitly pass the session/page/view IDs you want to target because they're not implicitly known from the call context.

That said, I don't see an `authorized` keyword arg supported by `system.perspective.getSessionInfo`, @dkhayes117, as in, while looking at the code.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 6, 2023, 4:44pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483/4 "2023-02-06T16:44:08Z")

</div>

> [@paul-griffith](#):
>
> I don't see an `authorized` keyword arg supported by

v8.1.24

```auto
11:42:33.630 [Browser Thread: 57553] INFO Perspective.Designer.Workspace - {"userAgent":"<designer>","id":"7E408747","username":"admin","authorized":true,"project":"SewingStation","uptime":11990300,"clientAddress":"","lastComm":19369,"sessionScope":"designer","activePages":3,"recentBytesSent":23,"totalBytesSent":"104121","pageIds":["nav","Home","session-props"]}

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 6, 2023, 5:18pm UTC](https://forum.inductiveautomation.com/t/missing-key-in-docs-system-perspective-getsessioninfo/69483/5 "2023-02-06T17:18:52Z")

</div>

Ahhh, gotcha; in the payload. I was thinking it was a parameter for some reason. I'll let the documentation team know.
