Click or drag to resize
PageSecurityHelperCheckViewModePermissions Method
Checks whether user is authorized to content with non-live site view mode.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static void CheckViewModePermissions(
	PageInfo pi,
	ViewModeEnum viewMode
)

Parameters

pi
Type: CMS.DocumentEnginePageInfo
Page info
viewMode
Type: CMS.PortalEngineViewModeEnum
View mode
See Also