How do I automate certain tasks when a user account moves to a different location?
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
Routine tasks performed when a user moves from one location to another can be automated using the Automation feature in Directory and Resource Administrator.
When a user is transferred from Houston to New York city. The user account properties must be updated in Active Directory to reflect New York instead of Houston in the City field. The user must also be removed from the Houston Employees global group and added to the New York Employees global group. The user must be removed from all Houston based distribution lists and instead be added to all New York distribution lists. Using the Automation feature in Directory and Resource Administrator most of these routine task can be automated.
A sample script is available in the Evaluation Utilities folder in the DRA Installation CD. In order to install these scripts, first install the Evaluation Utilities and run the DRA Populator utility.
The script performs the following tasks when the City field of a user account is modified by the Assistant Admin:
- Updates the Address field to reflect the address of the New York office instead of Houston.
- Moves the user account from the Houston OU to the New York OU.
- Removes the user from any Houston distribution lists and adds the user to the New York distribution lists instead.
- Removes the user from the Houston Employees group and adds him to the New York employees group.