[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openidm
Subject:    [OpenIDM] Sintax for "_queryExpression" using the Active Directory connector
From:       roberto.pierpaoli () pringsoft ! com (Ing !  Roberto Pierpaoli)
Date:       2014-02-13 10:00:15
Message-ID: CAP6xZ=JcgZCvtOg9ea6oFX79B5wssFEHzEXfPZTBm4nZjCLEMg () mail ! gmail ! com
[Download RAW message or body]

Hi,
I am trying to query my AD repository from a JS script through the Active
Directory Connector
(Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector, ver.
1.1.0.0).

I would like to express a specific query, so I guess I should use the
"_queryExpression" parameter, but I get sistematically a "Bad Request"
error:

{

error: 400
reason: "Bad Request"
message: "Query request does not contain valid query"

}

I am expressing my query in the form of a filter, like
"(givenName=Roberto)", URL-encoded as "(givenName%3DRoberto)", assuming
that the connector will narrow the search on the base of the "Container"
parameter set inside itself.

Could anyone please point me to the right sintax (or different approach)
for this kind of task?

Thanks a lot,




Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.forgerock.org/pipermail/openidm/attachments/20140213/12858701/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic