Click or drag to resize
PersonalizationInfoProviderGetPersonalizedTemplateInstance Method
Gets the personalized user instance for given page info.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static PageTemplateInstance GetPersonalizedTemplateInstance(
	PageInfo pageInfo,
	int userId,
	string dashboardName = null,
	string siteName = null
)

Parameters

pageInfo
Type: CMS.DocumentEnginePageInfo
Page info
userId
Type: SystemInt32
User ID
dashboardName (Optional)
Type: SystemString
Dashboard name
siteName (Optional)
Type: SystemString
Site name - is used for dashboard personalization only

Return Value

Type: PageTemplateInstance
See Also