Top  | Previous | Next

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

Client

Examples

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

 

See also:

system.util.getInactivitySeconds