system.security.logout

Description

Shuts-down the currently running client and brings the client to the login screen.

Syntax

system.security. logout()

  • Parameters

none

  • Returns

nothing

  • Scope

All

Code Examples
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()