Perspective-Security Zone

Can someone help me, how to get the selected security level in (Ignition perspective) client session through scripting.

Like this? Otherwise you'll have to be more specific

1 Like

You probably want to use the isAuthorized expression function, rather than trying to iterate through the auth properties yourself, though:
https://docs.inductiveautomation.com/display/DOC81/isAuthorized

2 Likes

This is the expression language though, not accessible from scripting

Here's the scripting equivalent:

https://docs.inductiveautomation.com/display/DOC81/system.perspective.isAuthorized

1 Like

image
Hi, am looking to for selected security level at permisiions in the project properties through scripting

I cogitated on that and could not figure out what you mean. What do you want the script to do? Return information? Change something?