Skip to main content Skip to complementary content

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.

Warning noteIf you define a rule without specifying at least one Resource or Node access condition, your rule will apply to all resources and / or nodes.

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:  

ArgumentDescription
resourceImplies 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.

resourcetypevalueYou must provide at least one resource type value, see Resource filter (Advanced view) for available values.
propertyThe property name for the resource condition, see Properties: for available names.
propertyvalueThe value of the selected property name.
Properties:
Property nameDescription
nameThe name of the resource
owner.environment.browserThe browser environment of the owner of the resource
owner.environment.deviceThe device environment of the owner of the resource
owner.environment.ipThe IP environment of the owner of the resource
owner.environment.osThe OS environment of the owner of the resource
owner.environment.requesttypeThe request type environment of the owner of the resource
owner.groupThe group memberships of the owner retrieved from the user directory.
owner.nameThe user name of the owner of the resource
owner.userdirectoryThe user directory of the owner of the resource
owner.useridThe user id of the owner of the resource
streams.nameThe name of the associated stream

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!