LdapProviderFindAsync - метод
Выполняет поиск по Distinguished Name (DN).
Пространство имён: Tessa.Extensions.Platform.Server.AdSyncСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public virtual ValueTask<List<AdEntry>> FindAsync(
ILdapContext context,
AdConnection conn,
string distinguishedName,
string ldapSearchFilter = null,
int searchScope = 0,
bool skipReferral = false,
List<string> connList = null,
string[] attributeList = null,
CancellationToken cancellationToken = default
)
Public Overridable Function FindAsync (
context As ILdapContext,
conn As AdConnection,
distinguishedName As String,
Optional ldapSearchFilter As String = Nothing,
Optional searchScope As Integer = 0,
Optional skipReferral As Boolean = false,
Optional connList As List(Of String) = Nothing,
Optional attributeList As String() = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of List(Of AdEntry))
public:
virtual ValueTask<List<AdEntry^>^> FindAsync(
ILdapContext^ context,
AdConnection^ conn,
String^ distinguishedName,
String^ ldapSearchFilter = nullptr,
int searchScope = 0,
bool skipReferral = false,
List<String^>^ connList = nullptr,
array<String^>^ attributeList = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract FindAsync :
context : ILdapContext *
conn : AdConnection *
distinguishedName : string *
?ldapSearchFilter : string *
?searchScope : int *
?skipReferral : bool *
?connList : List<string> *
?attributeList : string[] *
?cancellationToken : CancellationToken
(* Defaults:
let _ldapSearchFilter = defaultArg ldapSearchFilter null
let _searchScope = defaultArg searchScope 0
let _skipReferral = defaultArg skipReferral false
let _connList = defaultArg connList null
let _attributeList = defaultArg attributeList null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<List<AdEntry>>
override FindAsync :
context : ILdapContext *
conn : AdConnection *
distinguishedName : string *
?ldapSearchFilter : string *
?searchScope : int *
?skipReferral : bool *
?connList : List<string> *
?attributeList : string[] *
?cancellationToken : CancellationToken
(* Defaults:
let _ldapSearchFilter = defaultArg ldapSearchFilter null
let _searchScope = defaultArg searchScope 0
let _skipReferral = defaultArg skipReferral false
let _connList = defaultArg connList null
let _attributeList = defaultArg attributeList null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<List<AdEntry>>
- context ILdapContext
- Контекст работы с сервером LDAP
- conn AdConnection
- Соединение с сервером
- distinguishedName String
- Distinguished Name.
- ldapSearchFilter String (Optional)
- Фильтр.
- searchScope Int32 (Optional)
- Область поиска.
- skipReferral Boolean (Optional)
- Не искать в дружественных серверах
- connList ListString (Optional)
- Список пройденых соединений
- attributeList String (Optional)
- Список атрибутов для выдачи
- cancellationToken CancellationToken (Optional)
ValueTaskListAdEntryILdapProviderFindAsync(ILdapContext, AdConnection, String, String, Int32, Boolean, ListString, String, CancellationToken)