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

 Syntax:
 bResult=FSAccountServerAdd( lpszAccServer, iObjType )

 Parameters:
 lpszAccServer The name of the account server.
 iObjType      The bindery object type of the account server.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 FSAccSrvAdd()

 Description:
 FSAccountServerAdd() adds an accounting server specified by
 lpszAccServer of the type iObjType to the accounting server list of the
 current file server. This enables the new accounting server to charge
 clients of the current server for its services.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To add the user KATIE to the authorised accounting server's
 // list of the current file server:
 if ( FSAccountServerAdd( "KATIE", OT_USER ) )
    ? "User KATIE is now an account server on server", FSNameGet()
 endif

 Notes:
 This function requires Supervisor equivalence.

 FSAccountServerAdd() is a redefinition of the bindery function
 SetPropertyIDAdd().

See Also: FSAccountServerDelete() FSAccountEnabledTest() UsrAccountChargeAdd() UsrAccountReserveGet()

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