Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


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)