المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Get local groups and users from server remotely with console app



C# Programming
07-13-2009, 09:00 PM
Need some direction on how to enumerate local groups and users remotely from a member server using a console app.
Most of the sample code out on the web requires you to know the names of the groups prior to executing the code and the select statements dont ever seem correct. I have used directoryentry to connect to the local servers but directorysearcher seems to always fail.