Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Queries whether a target group is used anywhere in Optimizely Campaign.

Temporary target groups are excluded.

Type: Boolean


sessionIdStringID of the session
filterIdlongID of the target group

Return values

  • true: Target group is used
  • false: Target group is not used

Code structure

boolean isInUse(String sessionId, long filterId)