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> queoperatordelete()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 QueOperatorDelete()
------------------------------------------------------------------------------
 Purpose:
 Delete a queue operator from a queue.

 Syntax:
 bResult = QueOperatorDelete( lpszUserName, lpszQueueName )

 Parameters:
 lpszUserName  The name of the user.
 lpszQueueName The name of the print queue.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 QueOperatorDelete() deletes the user lpszUserName from the authorised
 operator list of print queue lpszQueueName.

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

 Example:
 // To delete group EVERYONE from print queue LASER's authorised
 // operator list:
 if ( QueOperatorDelete( "EVERYONE", "LASER" ) )
    ? "Group EVERYONE is no longer an operator of printer LASER"
 endif

 Notes:
 QueOperatorDelete() deletes the bindery object ID of a user from
 the Q_OPERATORS set property value of the print queue.

 This function requires Supervisor equivalence.

See Also: QueOperatorAdd() QueOperatorTest() QueOperatorList() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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