List all Users and their Properties in the Domain (Windows Scripting Host)

Category:
Windows 2000/XP
Type:
Snippets
Difficulty:
Beginning
Author:
Muhammad Adnan Baig

Version Compatibility: Visual Basic Script

More information:
List All Users And Their Properties In The NT4 OR Win2000 Domain For NT DOMAIN NAMESPACE USE (WINNT:) But For Win2000 (LDAP:) Except this all is same.

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

Declarations:

Code: