LDAP queries using UWP on Windows 10 IoT
Asked Answered
L

2

15

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.

This seems like a rather bizarre hole in the UWP offering, and so I'm hopeful that I'm just missing the obvious.

What (if anything) is the functional equivalent of System.DirectoryServices in the Universal Windows Platform world?

Latrice answered 26/9, 2016 at 11:41 Comment(1)
Unfortunately this feature is not implemented in UWP yet. There's some votes on this feature request.Splore
G
2

This thread is a little older, but you have 3 options today:

  1. Use the Windows Compatibility Pack for .NetCore.

  2. Use the Desktop Bridge to create a .Net component that does your LDAP queries. See this for more information.

  3. If you can, move to the Microsoft Graph - link to samples.

Hope this helps.

Gigantopithecus answered 2/4, 2018 at 17:41 Comment(0)
C
1

System.DirectoryServices is not available in the UWP, but if you are using sideloading for your app then you can use Brokered windows component to get or create the details required through a endpoint in it.

You can get it here.

Curch answered 20/6, 2017 at 16:25 Comment(1)
is there any other options available like a Nuget package for UWP ? I do not intend to sideload my appPalatial

© 2022 - 2024 — McMap. All rights reserved.