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

 Syntax:
 bResult = UsrConsoleOperatorDelete( lpszUserName )

 Parameters:
 lpszUserName The name of the user.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 UsrConsoleOperatorDelete() deletes the user lpszUserName from the
 console operator list of the current file server.

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

 Example:
 // To delete user DAVE from the current file server's console operator
 // list:
 if ( UsrConsoleOperatorDelete( "DAVE" ) )
    ? "User DAVE is no longer a console operator on server"
    ?? FSNameGet()
 endif

 Notes:
 UsrConsoleOperatorDelete() deletes the object ID of a user
 lpszUserName from the OPERATORS set property value of the file server using
 SetPropertyIDDelete().

 This function requires Supervisor equivalence.

See Also: UsrConsoleOperatorSet() UsrConsoleOperatorTest() FSConsoleOperatorList() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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