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> login</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LOGIN
------------------------------------------------------------------------------
 Purpose:
 Emulate the Novell LOGIN.EXE utility.

 Syntax:
 LOGIN <[file server/]user> <password>

 Parameters:
 file server The optional file server name.
 user        The user name to log in.
 password    The user password.

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

 Description:
 LOGIN is a CA-Clipper UDC/UDF combination to emulate the Novell LOGIN.EXE
 command line utility as closely as possible. This includes opening and
 interpreting the login scripts of the system and the user. There are some
 restrictions, for example LOGIN.EXE asks for a password, while with this
 command you have to specify the password as part of the command.

 There are some login script commands that cannot easily be interpreted,
 such as RUN (#). The LOGIN source code is included with NOVLIB, to enable
 you to understand and optionally modify the code.

 Example:
 // To log user IAN into server SERVER_1 with password HELLO:

 #include "novlib.ch"
 LOGIN SERVER_1/IAN HELLO

 // To perform the same operation using variables:

 #include "novlib.ch"
 UserStr = "SERVER_1/IAN"
 UserPwd = "HELLO"
 LOGIN &UserStr &UserPwd

 Notes:
 The source is contained in NOVLIB50.PRG, which must be compiled and
 linked into your program.

 For more information on LOGIN see LOGIN.EXE in the Novell NetWare reference
 manuals.

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

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