Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

six demon bag

Wind, fire, all that kind of thing!

2012-10-29

A Wrapper Class for Active Directory Queries

Tired of writing the same boilerplate code for querying objects from Active Directory over and over again? So am I. Thus I wrote ADQuery, a class that wraps the initialization of the required objects, sets some default values and also provides properties to allow for adjusting the usual parameters as the situation requires. See API documentation for details.


If you want to use this wrapper class, either copy/paste the code to your script or import the class file.

Download

Version 1.1 (2012-10-29; adds referral chasing)

Version 1.0 (2012-10-18; initial release)

Posted 19:49 [permalink]