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: 8.2.23
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