Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_logout( [ <cserver> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_LOGOUT( [ <cServer> ] )


Parameters

<cServer>
Name of the server from which to detach. Default is the current server.


Returns

Logical true if successful, false otherwise.

If the function returns false, you can call N_ERROR(), which will 
return the NetWare error code.


Description

If no server is specified, then the user will be logged out of and 
detached from the currently selected server. Use N_SERVER() with no 
parameters to determine the name of the currently selected server.

If a server is specified, the user will be logged out of and detached 
from that server.

If the user is currently logged into only one server, N_LOGOUT() logs 
the user out but does not the detach from the server.

N_LOGOUT() does not change the currently selected server unless it is 
the one being logged off of. In this case, the server with the lowest 
connection number (normally 1) will become current.


Example

// Logout and detach from server ARINC1
N_LOGOUT('ARINC1')



See Also: N_LOGIN()

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