| Previous | Next | |
STF.forceUserLogOff() : VoidNothing.
Method; On Windows this method quits the screen saver, logs off the current user, and returns the computer to the user login screen. On the Mac this method behaves like STF.quit() and quits the screen saver.
The following example logs the user off when the onPress button event is received.
forceUserLogOff_btn.onPress = function() {
STF.forceUserLogOff();
};STF.quit(), STF.quitSafe(), STF.launchAndQuit()
| Questions or Feedback? | Previous | Next |