简体   繁体   English

使用Active Directory进行C ++网络编程

[英]C++ Network Programming with Active Directory

i seeking for a way to get from the active directory via username the full path of the user network drive, in c++. 我正在寻找一种通过用户名从活动目录中获取用户网络驱动器完整路径的方法(用c ++)。

dose anybody know function that will help me with this ? 有人知道有什么功能可以帮助我吗?

thanks, 谢谢,

Take a look into ADSI , as it a set of COM interfaces, this is easily useable in a C++ application. 看一下ADSI ,它是一组COM接口,在C ++应用程序中很容易使用。

This link shows a sample of getting the username, so it shouldn't be a huge leap to get other information on the user. 链接显示了获取用户名的示例,因此获取有关用户的其他信息应该不是一个巨大的飞跃。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM