PDA

Click to See Complete Forum and Search --> : User in Group


Abu haider
Oct 21st, 2001, 07:40 PM
How to enumerate all groups a user belong to? Or all users that belong to a particular Group?

Talking about NT/2000.
Anybody?

jim mcnamara
Oct 22nd, 2001, 04:57 AM
Here is a start -

http://www.mvps.org/vbnet/code/network/netuserenum.htm

RSJIG
Oct 22nd, 2001, 11:47 AM
Use ADSI
IT WORKS ON ALL NT SYSTMES, 4.0 and 5.0(2000).



http://www.microsoft.com/windows2000/techinfo/howitworks/activedirectory/adsilinks.asp

OR

do a search at www.microsoft.com for ADSI

Abu haider
Oct 22nd, 2001, 08:08 PM
ADSI won't work if Active Directory is not installed, will it?

RSJIG
Oct 23rd, 2001, 08:15 AM
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.