Click or drag to resize
PageSecurityHelperCheckSecuredAreas Method (String, PageInfo, Boolean, ViewModeEnum)
Redirect to logon page if actual page requires authentication.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void CheckSecuredAreas(
	string siteName,
	PageInfo pi,
	bool excludeSystem,
	ViewModeEnum viewMode
)

Parameters

siteName
Type: SystemString
Site name
pi
Type: CMS.DocumentEnginePageInfo
PageInfo
excludeSystem
Type: SystemBoolean
If true, the system pages are excluded from evaluation
viewMode
Type: CMS.PortalEngineViewModeEnum
View mode
See Also