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

 Syntax:
 bResult = QueUsrDel( lpszUserName, lpszQueueName )

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

 Returns:
 A boolean value (TRUE or FALSE).

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

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

 Example:
 // To delete user IAN from print queue LASER's authorised user list:
 if ( QueUsrDel( "IAN", "LASER" ) )
    ? "User IAN can no longer use printer LASER"
 endif

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

 This function requires Supervisor equivalence.

See Also: QueUsrAdd() QueUsrTst() QueUsrLst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()

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