Yes, by using the Windows API's in netapi32.dll. The ones to use would be ::
1. NetGetDCName() to get the domail controller
2. NetUserEnum() to get the Users
3. NetApiBufferFree() to free the resources
I have not tried this but this was some information I saved from somebody'd posting. You can find more information on these API's from MSDN.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.