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

 Syntax:
 bResult = QueGroupDelete(lpszGroupName, lpszQueueName)

 Parameters:
 lpszGroupName The name of the group.
 lpszQueueName The name of the print queue.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 QueGroupDelete() deletes the user group lpszGroupName from the
 authorised user 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 user list:
 if ( QueGroupDelete( "EVERYONE", "LASER" ) )
    ? "Group EVERYONE can no longer use printer LASER"
 endif

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

 This function requires Supervisor equivalence.

See Also: QueGroupAdd() QueUserTest() QueUserList() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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