Directory Services |
On member servers and computers running on Windows 2000 Professional, you can enumerate all users in local security database.
To enumerate the users on a member server or computer running on Windows 2000 Professional
WinNT://ComputerName,computer
where ComputerName is the name of the computer to access.
In the binding string, the ",computer" option informs ADSI that it is binding to a computer and allows the WinNT parser to skip some ambiguity-resolution queries to determine what type of object bound to.
user
to the IADsContainer.Filter
property. This causes the enumeration to only contain objects that
have the user
object class.