A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
Remarks
The Logout method logs the current user off the server. The
Login method may then be used to login as another user during
the same session. Note that this method will not terminate the
connection with the server.
This method is not supported with secure connections using the SSH
protocol.