Click or drag to resize
PageSecurityHelperCheckPageSecurity Method
Checks the security for current page

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static void CheckPageSecurity(
	PageInfo pageInfo,
	SiteNameOnDemand siteName,
	ViewModeOnDemand viewMode,
	string relativePath,
	bool checkSecuredAreas = true
)

Parameters

pageInfo
Type: CMS.DocumentEnginePageInfo
Page info to check
siteName
Type: CMS.SiteProviderSiteNameOnDemand
Site name
viewMode
Type: CMS.PortalEngineViewModeOnDemand
View mode
relativePath
Type: SystemString
Relative path
checkSecuredAreas (Optional)
Type: SystemBoolean
Indicates if secured areas should be checked. It may leads to redirect to login page
See Also