← All types
Apps & SurfacesIn Input object

PortalAudienceInput

One audience-to-site binding of a Portal.

Fields

Which visitors the binding applies to.

Possible values (3)
GUEST

Anonymous visitors without a Portal session.

AUTHENTICATED

Signed-in PortalUsers, with or without a selected customer membership.

CUSTOMER_ROLE

Signed-in members whose current customer membership carries the binding's role.

role

StringOptional

Membership role required for CUSTOMER_ROLE; omit for other audiences.

Site of the same Portal to serve to matching visitors.

Referenced by (2)
Exact type SDL
"""One audience-to-site binding of a Portal."""
input PortalAudienceInput {
  """Which visitors the binding applies to."""
  audience: PortalAudienceKind!
  """Membership role required for CUSTOMER_ROLE; omit for other audiences."""
  role: String
  """Site of the same Portal to serve to matching visitors."""
  siteId: PortalSiteID!
}