Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> logout</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LOGOUT
------------------------------------------------------------------------------
 Warning:
 USE WITH CAUTION. If you log out from a file server while you have open
 files this may cause corruption of data, or if the program has overlays,
 it may lose contact with them.

 Purpose:
 Log out from a file server(s).

 Syntax:
 LOGOUT [<file server>]

 Parameters:
 file server The optional file server to log out from.

 Returns:
 None.
 NWErrorGet() returns non-zero if an error occurs.

 Description:
 LOGOUT is a CA-Clipper UDC to emulate the Novell NetWare LOGOUT.EXE
 command line utility, and is used the same way.

 To log out from a specific file server, use the optional parameter to pass
 the name of the server to log out from. Just calling LOGOUT without the
 optional parameter causes you to be logged out of all file servers.

 Example:
 // To log out from SERVER_1:

 #include "novlib.ch"
 LOGOUT SERVER_1

 // To perform the same operation using a variable:

 #include "novlib.ch"
 ServerStr = "SERVER_1"
 LOGOUT &ServerStr

 Notes:
 LOGOUT is a UDC and only works with CA-Clipper 5.x.

 For more information on usage, see LOGOUT.EXE in the Novell NetWare
 reference manuals.

See Also: FSWSLogout() FSWSLogin() LOGIN FSWSAttach() FSWSDetach()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson