Page 1 of 1 1
Topic Options
#35952 - 2003-02-03 08:09 PM Need help with a user report
str1der Offline
Fresh Scripter

Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
Does anyone know if it is possible to pull a list of all users on a domain and next to each user list their @primarygroup?
Top
#35953 - 2003-02-03 08:12 PM Re: Need help with a user report
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes it is. Try the search tool.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#35954 - 2003-02-03 08:19 PM Re: Need help with a user report
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What Les means is to use the KiXtart BBS Search. Also, you can use ADSI for this.

[ 03. February 2003, 20:21: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#35955 - 2003-02-03 08:20 PM Re: Need help with a user report
str1der Offline
Fresh Scripter

Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
I searched and I'm sure I can use the Groupmembers function to get a list of all user in the Domain Users group but I'm not sure who I can pull the primarygroup information. I know how to use it in my scripts to map to department drives but not sure how to retrieve the info?
Top
#35956 - 2003-02-03 08:27 PM Re: Need help with a user report
str1der Offline
Fresh Scripter

Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
Can you use ADSI even if you aren't using AD?
Top
#35957 - 2003-02-03 08:45 PM Re: Need help with a user report
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ADSI can be used in an NT4 domain with the WinNT:// provider. All that is required is that ASDI Client be installed on teh computer running the script. Win2K has it out of the box but NT4 would require it to be installed. ADSI need not be installed on the DCs.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 584 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.064 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org