WoW API: ForceLogout
← WoW API < ForceLogout
Equivalent to ForceQuit: logs the player out immediately, even if outside a resting zone.
ForceLogout()
Notes
This function does not work for ordinary players; instead, a message saying "You do not have permission to perform that action" is returned from the server.