By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

Best way to get current computer AD object ?

P: n/a

What would you consider to be the best way to get the current computer AD
object ?

It seems that the System.DirectoryServices.ActiveDirectory namespace doesn't
provide any way to get the current computer object. It only provides classes
to get informations about the domain itself (and there's no way to provide
user/password info to its methods).

I wouldn't like to get the computer AD object thru a WinNT provider or some
hugly things like that :-).

Note : the application is ran in a local user context, the computer is a
member of the AD domain, we got a username and password to query the AD

Thanks for you help, Olivier.
Jul 10 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.