Property description

The userRelationFilter clause filters objects by their user relation type.

Minimal JSON

{
  "type": "userRelationFilter",
  "userRelationTypeKey": "",
  "operand": "",
  "value": "",
  "values": [""]
}

Nested properties

PropertyDescriptionValuesMandatory
typeuserRelationFilterstringYes
userRelationTypeKeyKey of the user relation type the filter applies to.array of stringsYes
operandObject filter expression. See below for supported operand values.stringYes
valueDawiso user. Used with numerical and string operands. Must be empty if a null check operand is used (empty or notEmpty).integer or stringYes* (for numerical and string operands)
valuesArray of Dawiso users. Used with membership operands (in or notIn). Must be empty if a null check operand is used (empty or notEmpty).array of stringsYes* (for membership operands)

Supported operand values

Membership operands

OperandDescription
inSelects objects that were assigned user(s) specified in the values property.
notInExcludes objects that were assigned user(s) specified in the values property.

Null check operands

OperandDescription
emptyObjects without any user relations. The following properties must be empty:  valuevalues.
notEmptyObjects with (any) user relations. The following properties must be empty:  valuevalues.

Numerical operands

OperandDescription
equalsObjects with the user specified in the value property.
notEqualsObjects without the user specified the value property.

String operands

OperandDescription
likeObjects with a user whose username contains the string specified in the value property.
startWithObjects with a user whose username starts with the string specified in the value property.
endWithObjects with a user whose username ends with the string specified in the value property.