The information in this article applies to:
SUMMARYYou can use the Active Directory Service Interfaces (ADSI) to obtain network domain information from within Visual FoxPro. This article shows an example of how to obtain this information. MORE INFORMATIONNOTE: To use the following example, you must install the Active Directory Service from the following Web site or the Microsoft Developer Network CD: http://www.microsoft.com/windows/server/Technical/directory/adsilinks.aspADSI is a COM-based interface for accessing directory services. You can treat each element of the network, such as users, printers, and computers, as an object. Accessing the properties of the domain object allows the developer to get information about the domain. The following code demonstrates how to do this. Save the following code to a program file and run the program. Sample Code
REFERENCES
Visual Studio Microsoft Developer Network Library, version 6.0; search on:
"ADSI Domain Object"
http://msdn.microsoft.com/workshop/default.asp © Microsoft Corporation 1998, All Rights Reserved. Additional query words:
Keywords : kbADSI kbVFp600 kbDSupport |
Last Reviewed: September 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |