[Bug] system.security.logout() function not available in 8.1.11

I have been trying to use this function system.security.logout() to logout from my Perspective script as described in the help.


After attempting to debug my script I found that is not available.
image
Please update the documentation to reflect this and possible make note in the earlier versions that is no longer available.

Not a bug. As documented for the entire system.security namespace, these are Vision-only.

1 Like

They are only for vision projects, not perspective. The documentation notes this correctly as it is vision scoped. You can access it in the script console because a project can contain both the vision and perspective resources. Phil beat me to it :stuck_out_tongue:

1 Like

Thanks, I am new to Ignition and did not realize how this was documented.. :slight_smile:

You’re welcome, and welcome to the party!

You’re looking for system.perspective.logout - Ignition User Manual 8.1 - Ignition Documentation

2 Likes