Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listing users within a workgroup, but using DOS command

Status
Not open for further replies.

Lando2

Technical User
Jul 4, 2001
49
GB
Anyway to do with using 2000 or 98? Maybe a 3rd party program?

Any Ideas?
 
There is a command line utility by Microsoft called IFMEMBER.EXE, but I am not sure where you download it or get it.

The easiest way I found is a vbscript to query the domain for the information. It can be run in DOS or out of a batch file.

If you want the code for such a script let me know and I can post it.

Roger
 
IFMEMBER.EXE can be found on The Windows NT 4.0 Resource Kit. This utility will actually list the groups a user is a member of.
 
The easiest way to do this is go to the command prompt and type:

net group "groupname" /domain

replace "groupname" with something like "Domain Users" with the quotes and that will show every user in that group.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top