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> usrconoprset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrConOprSet()
------------------------------------------------------------------------------
 Purpose:
 Set a user to a console operator.

 Syntax:
 bResult = UsrConOprSet( lpszUserName )

 Parameters:
 lpszUserName The name of the user.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 UsrConOprSet() adds the specified user lpszUserName to the console
 operator list on the current file server and returns TRUE if successful.

 Returns FALSE, and NWErrorGet() is set to the appropriate error value, if
 an error occurs.

 Example:
 // To make user GIZ a console operator on the default server:
 if ( UsrConOprSet( "GIZ" ) )
    ? "User GIZ is now a console operator on the default server"
 endif

 Notes:
 UsrConOprSet() adds the object ID number of the specified
 user lpszUserName to the OPERATORS set property value of the default file
 server.

 This function requires Supervisor equivalence.

See Also: FSConOprLst() UsrConOprDel() UsrConOprTst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()

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