在Windows 10 IoT上使用UWP进行LDAP查询 [英] LDAP queries using UWP on Windows 10 IoT
问题描述
搜索几个小时后,似乎无法从UWP应用程序查询本地LDAP目录(Microsoft Active Directory或其他方式).
After several hours of searching it appears that there is no way to query a local LDAP directory (Microsoft Active Directory or otherwise) from a UWP app.
这似乎是UWP产品中一个相当奇怪的漏洞,所以我希望我只是错过了显而易见的地方.
This seems like a rather bizarre hole in the UWP offering, and so I'm hopeful that I'm just missing the obvious.
在通用Windows平台世界中,System.DirectoryServices的功能等效项是什么(如果有的话)?
What (if anything) is the functional equivalent of System.DirectoryServices in the Universal Windows Platform world?
推荐答案
该线程稍旧一些,但是今天您有3种选择:
This thread is a little older, but you have 3 options today:
-
将Windows兼容包用于.NetCore-使用桌面桥创建用于执行LDAP查询的.Net组件.有关更多信息,请参见 http://aka.ms/desktopbridge
Use the Desktop Bridge to create a .Net component that does your LDAP queries. see http://aka.ms/desktopbridge for more information
如果可以,请移至Microsoft Graph-指向示例的链接:
If you can, move to the Microsoft Graph - links to samples:
希望这会有所帮助, 亚当·布雷登[MS]
Hope this helps, Adam Braden [MS]
这篇关于在Windows 10 IoT上使用UWP进行LDAP查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!