在Windows 10 IoT上使用UWP进行LDAP查询 [英] LDAP queries using UWP on Windows 10 IoT

查看:157
本文介绍了在Windows 10 IoT上使用UWP进行LDAP查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索几个小时后,似乎无法从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:

  1. 将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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆