Skip to main content

Condition_IsLocatedSameSite

Description

Checks whether the self object and the target object are located within the same site. This condition always evaluates the location of both the self and the target, regardless of which one is provided as the BaseObject. If either the self or the target is not located within a site, the condition returns false regardless of the CompareType.

Parameters

ParameterDescription
BaseObjectEither Self or Target. This parameter is required but does not affect
the evaluation logic (always checks Self vs Target).
CompareTypeType of comparison operation (Equal or NotEqual).

Examples

DescriptionBaseObjectCommandCompareType
Checks whether Self and Target are in the same siteSelfIsLocatedSameSiteEqual
Checks whether Self and Target are in different sitesTargetIsLocatedSameSiteNotEqual