How can Active Directory be accessed in a Workflow project?

Article:HOWTO30382  |  Created: 2010-07-14  |  Updated: 2010-11-02  |  Article URL
Article Type
How To


You want to use Active Directory in a Workflow project, but aren't sure where to start or how to use certain components.


Step 1: Install ActiveDirectory.dll into the project

To use Active Directory (AD) with a Workflow project, first add the Active Directory library:

  1. In a Workflow project, click on the Import Components button.
  2. Select ActiveDirectory.dll from the Workflow Designer Libraries tab.
  3. Click on the Add button.
  4. Click on the OK button.
  5. This opens the new Active Directory folder with additional components in the Toolbox window. These enable reading and writing of AD data for users, computers, groups, and organizational units.

Step 2: Add AD properties to the project's Properties page

The AD server, server port, domain name, administrator name, and administrator password will need to be added. These are usually automatically added (but not populated) after adding an AD component to a project.

  1. Go into the project's Properties by clicking on the name of the project in the Project window.
  2. Click on the Properties tab.
  3. Add values to the ADServer, ADServerPort (this may be able to be left as the default 0, which uses the default server port), ADDomainName, ADDomainAdminUser, and ADDomainAdminPassword.

Step 3: Learn how to use and implement AD components in a project


  • Instructions on how to use specific components can be found by adding one to a project, then selecting it and right clicking and then picking Help.
  • Sample projects and additional information can be found on the Workflow Swat web site, under the Examples > Active Directory section. These include videos and sample projects.


Workflow Swat

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices