Reputation: 617
i want to get all OU name using the domain name.
But i cant use C#,i want it from any windows functions or C++.
Can anyone tell about it?
Upvotes: 2
Views: 702
Reputation: 21956
You may use e.g. ADSI ADO provider for that.
Here's the sample for VBScript. You can easily port the code into C++, just use the #import directive.
Upvotes: 1