Die Methode System.DirectoryServices.DirectorySearcher.FindOne in C# wird verwendet, um einen einzelnen Eintrag aus einem Verzeichnis zu suchen. Sie gibt das erste Ergebnis zurück, das den angegebenen Suchkriterien entspricht. Diese Methode ist nützlich, um eine spezifische Entität in einem Verzeichnis zu finden, beispielsweise einen Benutzer oder eine Gruppe. Wenn mehrere Ergebnisse gefunden werden, gibt FindOne nur das erste zurück.
C# (CSharp) System.DirectoryServices DirectorySearcher.FindOne - 47 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die System.DirectoryServices.DirectorySearcher.FindOne, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.