I have been trying to use this function system.security.logout() to logout from my Perspective script as described in the help.
Not a bug. As documented for the entire system.security namespace, these are Vision-only.
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
Thanks, I am new to Ignition and did not realize how this was documented…
You’re welcome, and welcome to the party!
You’re looking for system.perspective.logout - Ignition User Manual 8.1 - Ignition Documentation