Condition_IsSameSiteEventRole
Description
Checks whether Self and the context Target share the same role within the currently active site event. Both entities must be in the same site event and have an assigned role ID.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Must be Self. The reference entity whose site event role is compared. |
| CompareType | Equal: Self and Target have the same role; NotEqual: roles are different. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self and Target have the same site event role | Self | IsSameSiteEventRole | Equal |
| Check if Self and Target have different site event roles | Self | IsSameSiteEventRole | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents