Figure 3. Directory-Enable Your Solution The sample application uses ADSI in an ActiveX DLL to query the NT Directory Services and passes the information to SQL Server for processing.