Conditions (Advanced view)
Define the resource and/or user conditions that the sync rule should apply to.
Syntax:
[resource.resourcetype = "resourcetypevalue"] [OPERATOR] [(((resource.property = propertyvalue) [OPERATOR (resource.property = propertyvalue)))]
If you select a resource and a resource condition from the drop-down list in the Basic view, the Conditions field in the Advanced view is automatically filled in with corresponding code for the selected resource type.
Conditions are defined using property-value pairs. You are not required to specify resource or user conditions. In fact, you can leave the Conditions field empty.
The order that you define conditions does not matter. This means that you can define the resources first and then the user and/or resource conditions or the other way round. However, it is recommended that you are consistent in the order in which you define resources and conditions as this simplifies troubleshooting.
Arguments:
| Argument | Description |
|---|---|
| resource | Implies that the conditions will be applied to a resource. |
| resourcetype | Implies that the conditions will be applied to a resource of the type defined by the resourcetypevalue. You can also use pre-defined functions for conditions to return property values. See Security rule conventions. |
| resourcetypevalue | You must provide at least one resource type value, see Resource filter (Advanced view) for available values. |
| property | The property name for the resource condition, see Properties: for available names. |
| propertyvalue | The value of the selected property name. |
Properties:
| Property name | Description |
|---|---|
| name | The name of the resource |
| owner.environment.browser | The browser environment of the owner of the resource |
| owner.environment.device | The device environment of the owner of the resource |
| owner.environment.ip | The IP environment of the owner of the resource |
| owner.environment.os | The OS environment of the owner of the resource |
| owner.environment.requesttype | The request type environment of the owner of the resource |
| owner.group | The group memberships of the owner retrieved from the user directory. |
| owner.name | The user name of the owner of the resource |
| owner.userdirectory | The user directory of the owner of the resource |
| owner.userid | The user id of the owner of the resource |
| streams.name | The name of the associated stream |