How to enumerate all groups a user belong to? Or all users that belong to a particular Group?
Talking about NT/2000.
Anybody?
Printable View
How to enumerate all groups a user belong to? Or all users that belong to a particular Group?
Talking about NT/2000.
Anybody?
Here is a start -
http://www.mvps.org/vbnet/code/network/netuserenum.htm
Use ADSI
IT WORKS ON ALL NT SYSTMES, 4.0 and 5.0(2000).
http://www.microsoft.com/windows2000.../adsilinks.asp
OR
do a search at www.microsoft.com for ADSI
ADSI won't work if Active Directory is not installed, will it?
Well, Yes and NO.
What you will have to do is create a small client/server prog. to get the information.
You actually install the asdi on a server and write a prog. to gather that info. You would pass the users information to the server and have it return the Info.
This of course, is no the way you would Idealy develop a prog, but unless your on a full 2000 network, it , as far as I have ever known, is the only way.