Skip to main content
Version: 8.1

system.security.logout

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.security.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.util.getInactivitySeconds() > 30:
system.security.logout()

Keywords​

system security logout, security.logout