Show / Hide Table of Contents

Method computer.logoff


Overload

Initiates computer logoff (sign out) operation.

public static bool logoff(bool force = false)
Parameters
force  (bool)

Don't allow to cancel. Applications with unsaved changes will be forcibly closed.

Returns
bool

false if failed. Supports lastError.