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

 Syntax:
 bResult = UsrConsoleOperatorSet( lpszUserName )

 Parameters:
 lpszUserName The name of the user.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 UsrConsoleOperatorSet() 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 ( UsrConsoleOperatorSet( "GIZ" ) )
    ? "User GIZ is now a console operator on the default server"
 endif

 Notes:
 UsrConsoleOperatorSet() 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: FSConsoleOperatorList() UsrConsoleOperatorDelete() UsrConsoleOperatorTest() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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