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
| Parameter | Description |
|---|---|
| BaseObject | Either Self or Target. This parameter is required but does not affect |
| the evaluation logic (always checks Self vs Target). | |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Checks whether Self and Target are in the same site | Self | IsLocatedSameSite | Equal |
| Checks whether Self and Target are in different sites | Target | IsLocatedSameSite | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents