This is the eighth in a series (the series is listed at the bottom) of "How To " Videos that I have created to show .NET Developers how to build document workflow in a SharePoint environment.
In the How to Videos that I produced on "Building Approval Workflow’s" and "Escalating Workflow’s (for overdue tasks), I kept things simple (focusing on the Workflow) and did not do dynamic lookups of people/users against Active Directory (AD), choosing to "hard code" the users in the workflow.
In this example, I take one of those workflow’s (Basic Approval Workflow) and show you how you can do a "Dynamic Lookup or Search" of Active Directory for information (The Manager of a user) using .NET Code (System.DirectoryServices).
To see the Video and download the code: Click here
Checkout my other Active Directory (non-SharePoint Specific) with .NET Videos: (The same code works in SharePoint)
- How to Add users to Active Directory with .NET (Click here to see it)
- How to Search Active Directory (used as the bases for this video): (Click here to see it)
- How to Search for/Add users to "Groups" in Active Directory with .NET: (Click here to see it)
Checkout my entire collection of SharePoint "How To" Videos:
~ Robert Shelton