How can Active Directory be accessed in a Workflow project?
|Article:HOWTO30382|||||Created: 2010-07-14|||||Updated: 2010-11-02|||||Article URL http://www.symantec.com/docs/HOWTO30382|
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:
- In a Workflow project, click on the Import Components button.
- Select ActiveDirectory.dll from the Workflow Designer Libraries tab.
- Click on the Add button.
- Click on the OK button.
- 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.
- Go into the project's Properties by clicking on the name of the project in the Project window.
- Click on the Properties tab.
- 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.
Article URL http://www.symantec.com/docs/HOWTO30382