title: OpenIDM - AD Users REST API
body: <p>I'm new to openIDM, I'm trying to execute the following query, getting zero results, though I have lot of AD users exist, just wondering what I'm doing wrong, </p>
  
  <p>$ curl \</p>
  
  <p>--header "X-OpenIDM-Username: openidm-admin" \
   --header "X-OpenIDM-Password: openidm-admin" \
   "<a href="https://localhost:8443/openidm/managed/user?_queryId=query-all-ids" rel="nofollow">https://localhost:8443/openidm/managed/user?_queryId=query-all-ids</a>"</p>
  
  <p>Results:</p>
  
  <p>{"query-time-ms":0,"result":[],"conversion-time-ms":0}</p>
  
  <p>But it works for Groups</p>
  
  <p>$ curl \</p>
  
  <p>--header "X-OpenIDM-Username: openidm-admin" \
   --header "X-OpenIDM-Password: openidm-admin" \
   "<a href="https://localhost:8443/openidm/managed/group?_queryId=query-all-ids" rel="nofollow">https://localhost:8443/openidm/managed/group?_queryId=query-all-ids</a>"</p>
  
  <p>Thanks</p>