Add Users To Security Group Using LDAP

Category:
Windows 2000/XP
Type:
Snippets
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: Visual Basic 6

More information:
Originally for use in my school to migrate the new pupils for the next year. Also demonstrates how to determine if an account is disabled, how to unlock an account and more.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: