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

 Syntax:
 bResult = QueUserDelete( 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:
 QueUsrDel()

 Description:
 QueUserDelete() 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 ( QueUserDelete( "IAN", "LASER" ) )
    ? "User IAN can no longer use printer LASER"
 endif

 Notes:
 QueUserDelete() 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: QueUserAdd() QueUserTest() QueUserList() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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