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_setlog( <cserver> [, <lsetting> ] ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_SETLOG( <cServer> [, <lSetting> ] )


Parameters

<cServer>
File server name.

<lSetting>
Enable/ disable login.
                        .T. enables.
                        .F. disables.


Returns

N_SETLOG(<cServer>) with no second parameter returns server's login 
status. You must have sufficient rights to execute this command.


Example

// Prevent stations from logging into server
// until reindex is complete
lPrevious := N_SETLOG('FS1')
N_SETLOG('FS1', .F.)
INDEX ON
IF ! lPrevious
  N_SETLOG('FS1', .T.)
ENDIF



See Also: N_LOGIN()

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