Grouping User Profiles based on Active Directory Integration and Synchronisation

Document ID : KB000027270
Last Modified Date : 14/02/2018
Show Technical Document Details


Many Companies have already expended a lot of time in organising their users into Organisational Units (OU's) in Active Directory. This document describes how to mirror that in the User Profile Groups of the DSM Explorer.



  1. Directory Integration must be configured via the "Add Directory Wizard" in the Control Panel; this is documented in the online help.
  2. The Agent software must be installed on all computers so that they exist in the MDB.
  3. User Profiles have been enabled as per the Unicenter Software Delivery Inside Guide - Using Software Delivery - Computer and User Profiles - Defining User Profiles.

    Note: After enabling User Profiles in the configuration these will be populated when the user next logs in or when the "caf register all" command is issued against a CAF agent that user is already logged onto.
  4. The Directory Synchronization job has been run.

As long these pre-requisites are met it is very simple to create Groups based on the OU's in Active Directory by following the steps below.

  1. Create Directory Queries for the OU's
  2. Create the Groups based on these Queries
  • Create Directory Queries for the OU's
    Right Click on Queries and select 'New'; this will display the select Target dialog:

    Figure 1

    Select 'User Profiles' and click OK to be presented with the Query Designer:

    Figure 2

    Click on 'Directory Query' and this will display the 'Add Directory Argument' Dialog:

    Figure 3

    Expand the Directory and select the OU on which to base the Query. Expanding the OU will display content from the Directory itself:

    Figure 4

    Click OK.

    This returns to the Query Designer and the Query is displayed. Clicking Preview will show the current result of running that query:

    Figure 5

    After confirming the query returns the desired result, close the preview and click OK. Supply a name for the new query when prompted and click OK again.

    The query is saved to the All Queries group and the User Profiles Group.
  • Create the Groups based on these Queries

    Right Click on 'Computers and Users' and select 'New Group..'

    Name the group and select the Query Tab.

    On the Query tab click the drop down for 'Associated query' and select the query created in step 1:

    Figure 5

    Click OK

    A new group will be created under 'Computers and Users'. Once the Query is evaluated the group will be populated with the User Profiles that belong to this OU in Active Directory.

    Figure 6