# Read properties Perspective from script

**URL:** <https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 29, 2024, 12:38pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632 "2024-04-29T12:38:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhonny\_Palas](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jhonny\_Palas](https://forum.inductiveautomation.com/u/Jhonny_Palas)\
**Post date:** [April 29, 2024, 12:38pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632/1 "2024-04-29T12:38:45Z")

</div>

Hi everyone

Is there something like that:

username = system.tag.read("[System]Client/User/Username").value

to run from 'scripting' to read session properties in perspective?  
thanks!

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [April 29, 2024, 12:41pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632/2 "2024-04-29T12:41:35Z")

</div>

See session auth props,

> **[Session Properties | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/perspective-sessions/session-properties#auth-properties)**
>
> Session properties are available for use throughout Perspective Sessions. Sessions of a given project will have the same list of properties, however, the actual values are unique and independent for each running Session.

---

<div class="post-metadata">

**Author:** ![Jhonny\_Palas](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jhonny\_Palas](https://forum.inductiveautomation.com/u/Jhonny_Palas)\
**Post date:** [April 29, 2024, 12:45pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632/3 "2024-04-29T12:45:20Z")

</div>

thanks, but I mean something that allows me to read properties in general from scripting.  
like vision has client Tags, and with system.tag.readBlocking I was able to read..

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [April 29, 2024, 12:48pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632/4 "2024-04-29T12:48:54Z")

</div>

These props are available through scripting. Perhaps explain your use case and give some more details on what you are trying to do.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 29, 2024, 12:56pm UTC](https://forum.inductiveautomation.com/t/read-properties-perspective-from-script/89632/5 "2024-04-29T12:56:43Z")

</div>

You seem to be confusing session properties and tags.

Vision uses client tags as a kind of variable with global project scope. **These are tags**.

Perspective uses session properties for shared values. **These are not tags**.

You can read and write to session properties directly from a Perspective script (but not directly from a gateway script). For example:

```python
	self.session.custom.mySessionProp = system.date.now()

```
