| PageSecurityHelperCheckSecuredAreas Method (String, Boolean, ViewModeEnum) | 
            Redirect to logon page if the user is not authenticated.
            
 
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntaxpublic static void CheckSecuredAreas(
	string siteName,
	bool excludeSystem,
	ViewModeEnum viewMode
)
Parameters
- siteName
 - Type: SystemString
Site name - excludeSystem
 - Type: SystemBoolean
If true, the system pages are excluded from evaluation - viewMode
 - Type: CMS.PortalEngineViewModeEnum
View mode 
See Also