Page 1 of 1 1
Topic Options
#189973 - 2008-10-01 10:02 PM Enuming Users and Groups in Active Directory
Indigo Offline
Fresh Scripter
**

Registered: 2008-10-01
Posts: 34
I would like to Enum/Query all the Active users in Active directory, and the Groups we have setup.

Later i will take that info and put it into a comma seperated value file.


Does anyone have any ideas of good udf's or internal commands that would help me do this?


Edited by Indigo (2008-10-01 10:02 PM)

Top
#189987 - 2008-10-02 01:02 PM Re: Enuming Users and Groups in Active Directory [Re: Indigo]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 687
Loc: Maryland, USA
Hello,

Did you search the UDF repository? I'm not sure if there is just a way to query "active" users. I think the problem there is that "active" is subjective. You can query "all" members. I know there is a UDF by Jooel to enumerate the AD groups. I'm sure there is something for users. If not, take a look at Jooel's UDF and start adapting it for users.

Regards,

Brad V

Top
#189991 - 2008-10-02 02:33 PM Re: Enuming Users and Groups in Active Directory [Re: BradV]
Indigo Offline
Fresh Scripter
**

Registered: 2008-10-01
Posts: 34
Ok,

I will see what i can dig up. \:\)

Thanks

Top
#190009 - 2008-10-03 11:53 AM Re: Enuming Users and Groups in Active Directory [Re: Indigo]
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 311
Loc: STRASBOURG, France
Have a look at this post :
Export AD

There is an complete example of export in the attachement ExportAD.zip
_________________________
Christophe

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 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.093 seconds in which 0.05 seconds were spent on a total of 13 queries. Zlib compression enabled.

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