Skip to content

IsUserEnabled Criterion

The IsUserEnabled Search Criterion searches for User accounts that are enabled or disabled.

Arguments

  • (optional) value - bool representing whether to search for enabled (default true) or disabled User accounts.

Limitations

The IsUserEnabled Criterion is not available in Solr or Elastic search engines.

Example

1
$query->query = new Criterion\IsUserEnabled();