Create a Claim Type object for your domain controller to issue user claims sourced from the Department attribute. Log on as an Active Roles Admin and perform the following steps in the Active Roles console. (Assuming the default configuration, you should log on with a domain user account that is a member of the Administrators local group of the member server running the Active Roles Administration Service.)
- In the console tree, expand the Active Directory node, right-click the Claim Types container, and select New | Claim Type.
- On the Source Attribute page, scroll down the list of attributes, and click Department.
- Click Next and then click Finish.
Use the Active Roles console to create an Access Rule object with a conditional expression that evaluates to TRUE if the Department claim of the authorizing user evaluates exactly to the Department property of the target object:
- In the console tree, expand the Configuration node, right-click the Access Rules container, and select New | Access Rule.
- On the General page, type Department Admins in the Name field, and then click Next.
- On the Conditions page, configure the conditional expression:
- Click the AND group item, and then click Insert condition.
- Click Configure condition to evaluate, and then click User claim.
- On the Select Claim Type page that appears, click Department in the list of claim types, and then click OK.
- Verify that the comparison operator reads equals (this is the default setting).
- Click Define value to compare to, and then click Target object property.
- On the Select Target Object Property page that appears, select the Department property, and then click OK.
- Click Finish.
To apply the Access Rule you created in Step 4, you first need to delegate control by using an Access Template, and then attach the Access Rule to the Access Template link. Create a security group to hold your delegated administrators, and perform the following steps in the Active Roles console:
- In the console tree, under the Active Directory node, right-click the name of your domain, and then click Delegate Control.
- On the Active Roles Security page that appears, click Add to start the Delegation of Control wizard.
- Follow the wizard pages:
- On the Users or Groups page, click Add, and select the security group that holds your delegated administrators. Click Next.
- On the Access Templates page, expand the Active Directory node, and select the OUs - Read All Properties and Users - Modify All Properties check boxes. Click Next.
- On the remaining pages, click Next to accept the default settings.
- On the completion page, click Finish.
You will apply the Access Rule to the Users - Modify All Properties Access Template link. The OUs - Read All Properties Access Template enables the delegated administrators to browse the domain for user objects.
- Click OK to close the Active Roles Security page. This will create the Access Template links.
- Right-click the name of your Active Directory domain and click Active Roles Security to open the Active Roles Security page again.
- On the Active Roles Security page, select the Users - Modify All Properties Access Template link and then click View/Edit.
- On the Access Rule tab in dialog box that appears, click the Change button, select the Department Admins Access Rule, click OK to close the Select an Access Rule page, and then click OK to close the dialog box.
- Click OK to close the Active Roles Security page.
After you have completed these steps, Active Roles allows a delegated administrator to make changes to only those user accounts that have the same department setting as the delegated administrator’s account.