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

 Syntax:
 bResult = QueOprDel( lpszUserName,

 lpszQueueName )

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

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 QueOprDel() 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 ( QueOprDel( "EVERYONE", "LASER" ) )
    ? "Group EVERYONE is no longer an operator of printer LASER"
 endif

 Notes:
 QueOprDel() 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: QueOprAdd() QueOprTst() QueOprLst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()

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