C ++ api通过Active Directory开发

时间:2021-02-04 03:53:23

I need to access the Active Directory data programmatically using a native C++ API because I like C++ and I think it is faster than any .NET programming language. I could not find a C++ API developed by Microsoft, it only has a C one (ADSI) and it is really an awful API. I found a C++ API in open LDAP but it has some errors and it seems that the development was abandoned. Can anyone share about a place to find a decent C++ API to access Active Directory methods? Regards.

我需要使用本机C ++ API以编程方式访问Active Directory数据,因为我喜欢C ++,我认为它比任何.NET编程语言都快。我找不到微软开发的C ++ API,它只有一个C(API),它真的是一个糟糕的API。我在开放LDAP中找到了一个C ++ API,但它有一些错误,似乎放弃了开发。任何人都可以分享一个地方找到一个体面的C ++ API来访问Active Directory方法吗?问候。

1 个解决方案

#1


I think it is going to be pretty difficult to find another friendly API for accessing Active Directory(I could be wrong), but I have heard of a book that covers LDAP/ADSI in c++ very well. It's an older book but it seems to have very good content. It might be your best bet. Like Steven said, it may just be easier to use c# but if that's not an option, try the book out. Good luck and I hope this helps!

我认为找到另一个用于访问Active Directory的友好API非常困难(我可能错了),但我听说过一本很好地涵盖c ++中LDAP / ADSI的书。这是一本较旧的书,但似乎有很好的内容。这可能是你最好的选择。就像史蒂文所说的那样,使用c#可能更容易,但如果这不是一个选项,请试试这本书。祝你好运,我希望这有帮助!

http://www.amazon.com/Active-Directory-Programming-Gil-Kirkpatrick/dp/0672315874/ref=sr_1_1?ie=UTF8&s=books&qid=1247459890&sr=8-1

#1


I think it is going to be pretty difficult to find another friendly API for accessing Active Directory(I could be wrong), but I have heard of a book that covers LDAP/ADSI in c++ very well. It's an older book but it seems to have very good content. It might be your best bet. Like Steven said, it may just be easier to use c# but if that's not an option, try the book out. Good luck and I hope this helps!

我认为找到另一个用于访问Active Directory的友好API非常困难(我可能错了),但我听说过一本很好地涵盖c ++中LDAP / ADSI的书。这是一本较旧的书,但似乎有很好的内容。这可能是你最好的选择。就像史蒂文所说的那样,使用c#可能更容易,但如果这不是一个选项,请试试这本书。祝你好运,我希望这有帮助!

http://www.amazon.com/Active-Directory-Programming-Gil-Kirkpatrick/dp/0672315874/ref=sr_1_1?ie=UTF8&s=books&qid=1247459890&sr=8-1