@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio-doc&#038;p=150359>
  a sioc:Post ;
  dc:title "Abilities" ;
  dcterms:identifier 150359 ;
  dc:modified "2026-10-15T02:05:11Z"^^xsd:dateTime ;
  dc:created "2026-10-15T02:05:11Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-user-insights/abilities/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-user-insights/\">LH User Insights</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-get-query-schema\"><code>get-query-schema</code></a> Get User Insights Query Schema</li><li><a href=\"#ability-query-users\"><code>query-users</code></a> Query Users</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-get-query-schema\"><h2>Get User Insights Query Schema</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-user-insights/get-query-schema</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Returns the registered field list (id, label, type, default visibility, filter config) and the operator registry per filter type. Call this first to discover valid `by` values and operators before calling query-users, since fields include dynamic ones (BuddyPress xProfile fields vary per site, custom fields vary per install). Requires <code>install_plugins</code>.</p><p class=\"lh_portfolio-ability-reference-no-params\">Takes no input.</p></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-query-users\"><h2>Query Users</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-user-insights/query-users</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Filters, sorts, and paginates site users through the same query engine as the User Insights admin screen. Call get-query-schema first for valid `by` and `operator` values &#8211; fields vary per site (BuddyPress xProfile, custom fields). Results are automatically scoped to the current site on multisite installs. Requires <code>install_plugins</code>.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>filters</code></td><td>array of object</td><td>No</td><td></td><td>Filter conditions, ANDed together. Each item: {by: field id, operator: operator key for that field&#039;s type, condition: value, type: field filter type}. See get-query-schema for valid values.</td></tr><tr><td><code>orderby</code></td><td>string</td><td>No</td><td></td><td>Field id to sort by. Defaults to &quot;registered&quot;.</td></tr><tr><td><code>order</code></td><td>string</td><td>No</td><td></td><td>Sort direction. Defaults to DESC. One of: <code>ASC</code>, <code>DESC</code>.</td></tr><tr><td><code>search</code></td><td>string</td><td>No</td><td></td><td>Matches part of the username, email or display name. Combined with the filters by AND.</td></tr><tr><td><code>number</code></td><td>integer</td><td>No</td><td><code>20</code></td><td>Max results to return.</td></tr><tr><td><code>offset</code></td><td>integer</td><td>No</td><td><code>0</code></td><td>Pagination offset.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH User Insightsget-query-schema Get User Insights Query Schemaquery-users Query UsersGet User Insights Query Schemalh-user-insights/get-query-schema Read-only IdempotentReturns the registered field list (id, label, type, default visibility, filter config) and the operator registry per filter type. Call this first to discover valid `by` values and operators before calling query-users, since fields include dynamic ones (BuddyPress xProfile fields vary per site, custom fields vary per install). Requires install_plugins.Takes no input.Query Userslh-user-insights/query-users Read-only IdempotentFilters, sorts, and paginates site users through the same query engine as the User Insights admin screen. Call get-query-schema first for valid `by` and `operator` values &#8211; fields vary per site (BuddyPress xProfile, custom fields). Results are automatically scoped to the current site on multisite installs. Requires install_plugins.ParameterTypeRequiredDefaultDescriptionfiltersarray of objectNoFilter conditions, ANDed together. Each item: {by: field id, operator: operator key for that field&#039;s type, condition: value, type: field filter type}. See get-query-schema for valid values.orderbystringNoField id to sort by. Defaults to &quot;registered&quot;.orderstringNoSort direction. Defaults to DESC. One of: ASC, DESC.searchstringNoMatches part of the username, email or display name. Combined with the filters by AND.numberintegerNo20Max results to return.offsetintegerNo0Pagination offset." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
