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> fsusradd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSUsrAdd()
------------------------------------------------------------------------------
 Purpose:
 Add a user to the file server.

 Syntax:
 bResult = FSUsrAdd( lpszUserName, lpszPassword )

 Parameters:
 lpszUserName The login name for the new user.
 lpszPassword The new user's password.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 FSUsrAdd() returns TRUE if the new user is added to the file server.

 Returns FALSE if the user is not added or if an error occurs. The new
 user's login name is lpszUserName and its password is set to lpszPassword.

 Example:
 // To add a new user STEVE to the file server with the password NEWPASS:
 if ( FSUsrAdd( "STEVE", "NEWPASS" ) )
    ? "User STEVE has been added to the network"
 endif

 Notes:
 This function requires Supervisor equivalence. If FALSE is
 returned, check NWErrorGet().

See Also: FSUsrDel() UsrNmeChg() UsrIDGet() UsrNameGet()

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