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