A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class PageDataPersonalizationExtension

Extends PageData with some personalization methods

Inheritance
System.Object
PageDataPersonalizationExtension
Namespace: EPiServer.Personalization
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public static class PageDataPersonalizationExtension : Object

Methods

GetUsedPersonalizedGroupIds(PageData)

Gets the groups that are used for personalization on current page.

Declaration
public static IEnumerable<string> GetUsedPersonalizedGroupIds(this PageData page)
Parameters
Type Name Description
PageData page

The page.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An IEnumerable with the ids of the visitor groups what affect content for properties on the page.