Setting User Account in all jobs

Paul Watson (101 posts)
April 15, 2015 06:55 AM
Accepted Answer

We are using adTempus 3.0.8.

Is there any way to set the "User Account" for a group of jobs?

We have 75-100 jobs that need to have the "User Account" changed. Is there any way to do that other than manually, one at a time?

Paul Watson (101 posts)
April 15, 2015 10:03 AM
Accepted Answer

I found a way.

  1. Highlight the group in the left-side navigation pane
  2. Press Ctrl-F or from the menu bar, Tools > Find and Replace...
  3. Verify the setting of "Search sub-groups of the selected group(s) to see that it is what you want
  4. Select the "Credentials" checkbox
  5. Enter the current credential in the "Search For" edit control
  6. Select the "Replace with" checkbox and enter the desired credential in the "Replace With" edit control.
  7. Select the "Find" button
  8. If it did what you wanted, select the "Accept" button
  9. Select the "Close" button

NB: The "Search For" edit control is case sensitive. If one job contains "Server3\batuser" and another job contains "SERVER3\batuser" then the find and replace will need to be done twice. Setting standards such as how hostnames appear can save time and communicate to the reader more efficiently.

Bill Staff (599 posts)
April 15, 2015 02:27 PM
Accepted Answer

If you want the change to affect all jobs in the system that use the Credential Profile, you can edit the Credential Profile itself and change the user ID and password. The jobs reference the profile using a unique ID that is not related to the user ID, so they will still be pointing to the same profile, but it will have different credentials.

Otherwise, the Find/Replace option is the way to go.

The search isn't case sensitive, but things work a little differently when you're searching for Credential Profiles: it's not searching for jobs that use the user ID you enter; it's finding the Credential Profile for the user ID you enter and then searching for jobs that use that profile. There was a bug in adTempus 3.x that allowed duplicate Credential Profiles to get created sometimes for the same user ID if the casing was different when they were created. So if you look in the Credential Profiles window (under Tools) you will probably find that you have two different Credential Profiles. That's why it's confusing in the Find box: the profile selector is finding two different profiles that match what you enter, depending on casing.

Note that beginning with adTempus 4 there is no Credential Profile option in Find/Replace. Instead, go to the Credential Profiles window, right-click the profile, and choose Find/Replace References.

Replies are disabled for this topic.