- Documentation >
 
              
                  - Search >
 
              
                  - Search Criteria reference >
 
              
                  - UserEmail
 
          
          
          
          UserEmail Criterion
The UserEmail Search Criterion
searches for content based on the email assigned to the User account.
Arguments
value - string(s) representing the User email(s) 
- (optional) 
operator - operator constant (IN, EQ, LIKE) 
Limitations
Solr search engine and Elasticsearch support IN and EQ operators only.
Example
PHP
 | $query->query = new Criterion\UserEmail(['johndoe']);
  | 
 
 | $query->query = new Criterion\UserEmail('nospam*', Criterion\Operator::LIKE);
  | 
 
REST API