Setting Server Managers and Operators - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

By default, only the Administrators group on a given server has privileges on that server. This group always has manager privileges. Additional users must be added to the manager or operator lists.

You can grant users either manager or operator privileges. Users with manager privileges are able to use all commands that affect server configuration and operation, while users with operator privileges are able to start or stop queues, and manipulate jobs.

Only users with manager privileges can grant and remove server privileges.

Using Batch Manager:

  1. Select the server.

  2. Select Server > Properties.

    Batch Manager displays the Server Properties dialog box.

  3. Select the Security tab.

  4. Select Add to grant operator or manager privileges.

    The Add Managers and Operators dialog box displays.

  5. Key in the users or groups you want to add, separated by semi-colons.

  6. Select the type of privilege:

    • Operator - Allows the user or group to manage jobs that it does not own.

    • Manager - Allows the user or group full privileges in the batch system. By default, only members of the Administrators group are granted Manager priviledges.

  7. Click OK.

  • Note that the selected privilege applies to all users or groups being added; you cannot add an operator and a manager at the same time.

  • You can remove selected users or groups from the authorization list by selecting them and choosing Remove.

Using the command line:

  1. Start qmgr.

  2. Use the add managers command to grant privileges to the specified users or groups. You must specify the type of privilege (manager or operator).

  3. Use the delete managers command to remove privileges from the specified users or groups.

You can use the set managers command to remove privileges from all current managers and operators, and reset them to the specified users or groups.

Using the Batch API:

  1. Use the BatchGetServerInfo function to obtain the current BATCH_SERVER_INFO structure.

  2. Modify the pSD field.

  3. Use the BatchSetServerInfo function with the modified BATCH_SERVER_INFO structure to change the operator/manager privileges.