Enumerate All Users on an NT/2000 Domain

Category:
Network/Internet
Type:
Snippets
Difficulty:
Advanced

Author: Intelligent Solutions Inc.

Version Compatibility:

More information:
NOTE: This works on NT or 2000 only. Usage is explained in code's comments.

Thanks to Denis H„uáer for contributing a bug fix, 11/17/02.

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

Declarations:

Code: