UserCriteria

Represents the member criteria to use in Experience Cloud site moderation rules.

Version 

Introduced in API version 39.0.

Supported SOAP API Calls 

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

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Fields 

Description 

  • Type: textarea

  • Required: No

  • Properties: Filter, Nillable, Sort

  • Description: The description of the user criteria.

DeveloperName 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The unique name for the User Criteria object.

FullName 

  • Type: string

  • Required: No

  • Properties: Create, Group, Nillable

  • Introduced: API version 39.0

  • 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

  • Required: No

  • 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.

  • Possible values:

    • en_US — English

    • de — German

    • es — Spanish

    • fr — French

    • it — Italian

    • ja — Japanese

    • sv — Swedish

    • ko — Korean

    • zh_TW — Chinese (Traditional)

    • zh_CN — Chinese (Simplified)

    • pt_BR — Portuguese (Brazil)

    • nl_NL — Dutch

    • da — Danish

    • th — Thai

    • fi — Finnish

    • ru — Russian

    • es_MX — Spanish (Mexico)

    • no — Norwegian

MasterLabel 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The label for the user criteria.

Metadata 

  • Type: complexvalue

  • Required: No

  • Properties: Create, Nillable, Update

  • Introduced: API version 39.0

  • 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.

SobjectTypeId 

  • Type: ID
  • Required: No
  • Properties: Filter, Group, Nillable, Sort

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!