| description | IsUserBased Search Criterion |
|---|
The IsUserBased Search Criterion searches for content that plays the role of a User account.
!!! note
In the default setup only the user content type is treated as user accounts.
However, you can also [set other content types to be treated as such](repository_configuration.md#user-identifiers).
- (optional)
value- bool representing whether to search for User-based (defaulttrue) or non-User-based content
The IsUserBased Criterion isn't available in Solr or Elasticsearch engines.
$query->query = new Criterion\IsUserBased();=== "XML"
```xml
<Query>
<Filter>
<IsUserBasedCriterion>false</IsUserBasedCriterion>
</Filter>
</Query>
```
=== "JSON"
```json
"Query": {
"Filter": {
"IsUserBasedCriterion": "false"
}
}
```