System.DirectoryServices .NET API with LDAPS

Nikita Krivets 486 Reputation points
2020-09-23T08:22:55.937+00:00

Hello,

There is an API in .NET Framework I would like to use with LDAPS: System.DirectoryServices.ActiveDirectory.Forest, System.DirectoryServices.ActiveDirectory.DomainController, GlobalCatalog and so on (ex: Domain.GetDomain(), Forest.GetCurrentForest(), DomainController.FindOne(), etc).

Is there any opportunity to do that?

Thanks in advance!

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,443 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vicky Wang 2,731 Reputation points
    2020-09-23T09:27:56.813+00:00

    Hi,@Nikita Krivets
    Thank you for posting in our forum.
    According to the information I am looking for, maybe this article can help you. There are detailed methods in the article. If I understand what you mean wrong, you are welcome to tell me in time, and I will help you answer in time.
    reference:https://www.c-sharpcorner.com/article/get-details-of-the-logged-in-user-from-ldap-in-net-core-2-razor-pages/
    Tip: This answer contains the content of a third-party website. Microsoft makes no representations about the content of these websites. We provide this content only for your convenience.
    Hope this information can help you
    Best wishes
    Vicky


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.