system.vision.logout
Backwards Compatibility
This function replaces system.security.logout. Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility.
This function is used in Python Scripting.
Descriptionβ
Logs out of the Client for the current user and brings the Client to the login screen.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.vision.logout()
Parametersβ
Nothing
Returnsβ
Nothing
Scopeβ
All
Code Exampleβ
Code Snippet
# This would run in a timer script to log the user out after 30 seconds of inactivity.
if system.vision.getInactivitySeconds() > 30:
system.vision.logout()