Will System.DirectoryServices work in Future?

tobias.steinmetz 6 Reputation points
2020-12-04T08:11:10.303+00:00

We are currently using System.DirectoryServices to import AD users into our software. Microsoft has now announced that in future this will only work via LDAPs.
Some colleagues are concerned that System.DirectoryServices can no longer be used and that System.DirectoryServices.AccountManagement must be used instead. Are you justified in worrying or will System.DirectoryServices continue to function without any problems in the future?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,120 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Cheong00 3,471 Reputation points
    2020-12-04T08:46:42.753+00:00

    ???

    I thought that they're now only implementing System.DirectoryServices.Protocols instead of System.DirectoryServices.AccountManagement on Linux/MacOS because it's "a) the API was meant to support any LDAP server as opposed to AccountManagement which was more ActiveDirectory only, and b) the API in Protocols would give you most of the functionality without really exposing much of things that are Windows-only." to quote their reply.

    And System.DirectoryServices.AccountManagement on Linux/MacOS will have to wait. You can see the issue is still "Open", and IMO it would be "Closed" if they plan to drop it.

    Where have you read the anouncement?

    1 person found this answer helpful.
    0 comments No comments