---
schema_version: "1"
id: 0df7cae9de0be456e6e9a41b091ed710a395c916658f0fd81b2c0bf9cfdb4cb1
title: UserCriteria
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_usercriteria.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_usercriteria.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4ad6a07cc8c787551daf06df17597f46c3daa487262aa7b3ec9609e5eb5eced6
description: Represents the member criteria to use in Experience Cloud site moderation rules. Available in Tooling API version 39.0 and later.
---
# UserCriteria

Represents the member criteria to use in Experience Cloud site moderation rules. Available in Tooling API version 39.0 and later.

## Supported SOAP Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Supported REST HTTP Methods

GET

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

textarea

Properties

Filter, Nillable, Sort

Description

The description of the user criteria.



 |
| Developer Name | 

Type

string

Properties

Filter, Group, Sort

Description

API name of the developer. This name can contain only underscores and alphanumeric characters and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization.



 |
| FullName | 

Type

string

Properties

Create, Group, Nillable

Description

The full name of the associated metadata object in Metadata API. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.



 |
| Language | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The language of the moderation rule. Valid values are:

- Chinese (Simplified): zh\_CN
- Chinese (Traditional): zh\_TW
- Danish: da
- Dutch: nl\_NL
- English: en\_US
- Finnish: fi
- French: fr
- German: de
- Italian: it
- Japanese: ja
- Korean: ko
- Norwegian: no
- Portuguese (Brazil): pt\_BR
- Russian: ru
- Spanish: es
- Spanish (Mexico): es\_MX Spanish (Mexico) defaults to Spanish for customer-defined translations.
- Swedish: sv
- Thai: th The Salesforce user interface is fully translated to Thai, but Help is in English.





 |
| MasterLabel | 

Type

string

Properties

Filter, Group Sort

Description

The label for the user criteria.



 |
| Metadata | 

Type

mns:UserCriteria

Properties

Create, Nillable, Update

Description

The user criteria metadata. Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.



 |