| IDRARestServerExecuteLdapSearchQuery Method |
Retrieves a list of result from LDAP query.
UriTemplate: /dra/ldapsearchresults/get
Namespace:
NetIQ.DRA.RestServiceLibrary
Assembly:
NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax [OperationContractAttribute]
[WebInvokeAttribute(UriTemplate = "dra/ldapsearchresults/get", Method = "POST",
RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped)]
Stream ExecuteLdapSearchQuery(
Nullable<int> scope,
string baseDn,
string filter,
string[] attributes,
LdapSearchConnectionInfo connectionInfo,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(UriTemplate := "dra/ldapsearchresults/get", Method := "POST",
RequestFormat := WebMessageFormat.Json, ResponseFormat := WebMessageFormat.Json,
BodyStyle := WebMessageBodyStyle.Wrapped)>
Function ExecuteLdapSearchQuery (
scope As Nullable(Of Integer),
baseDn As String,
filter As String,
attributes As String(),
connectionInfo As LdapSearchConnectionInfo,
connectionParameters As ConnectionParameters
) As Stream
Parameters
- scope
- Type: SystemNullableInt32
The scope = 0 (LDAP_SCOPE_BASE) 1 (LDAP_SCOPE_ONELEVEL) 2 (LDAP_SCOPE_SUBTREE). - baseDn
- Type: SystemString
A base distingush name which LDap search to query from - filter
- Type: SystemString
A filter string which is using in LDap search query - attributes
- Type: SystemString
An optional list of the properties to retrieve - connectionInfo
- Type: NetIQ.DRA.Common.Rest.DataModelsLdapSearchConnectionInfo
A connectionInfo LdapSearchConnectionInfocontains domain name, host name port number and timeout to use foe LDAP connection. Notice domain name to query when type must be 1 or 2 and host name will be used when type is 0 - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
ExecuteLdapSearchQueryResponse object containing the operation results
See Also