To learn about programming for Active Directory Lightweight Directory Services (AD LDS), you can perform, as a tutorial, tasks in the Using Active Directory Lightweight Directory Services section in the order presented in this topic.
To perform this tutorial, install a new instance of AD LDS - without creating an application directory partition. The topics assume that the AD LDS installation is on a local computer and uses TCP port 389 for non-SSL connections. If these assumptions do not apply in your situation, modify the procedures as appropriate. The tutorial consists of the following general steps:
- Creating an Application Directory Partition
 - Binding to an Instance
 - Adding User Classes
 - Adding Contact Classes
 - Creating inetOrgPerson Objects
 - Creating Contact Objects
 - Creating Organizational Units
 - Creating Users
 - Creating Groups
 - Adding Members to Groups
 - Getting a List of Specified Objects
 - Enumerating Users and Groups
 - Setting User Passwords
 - Backing Up an Instance
 - Restoring an Instance
 - Removing Members from Groups
 - Deleting Users
 - Deleting Groups
 - Deleting Organizational Units
 - Deleting an Application Directory Partition