Lists all Accounts on a Computer or Domain (WMI/VB Script)

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Francis Danta

Version Compatibility: Visual Basic Script

More information:
More samples on http://www.activxperts.com/activmonitor/windowsmanagement/wmisamples/

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

Declarations:

Code: