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

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

Parameters

pageInfo
Type: CMS.PortalEnginePageInfo
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