| UIContextHelperCheckUIElementAccessHierarchical Method  | 
            Checks the permissions of all UI elements hierarchically starting with specified UI element (with optional custom root element).
            
 
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 9.0.0
Syntaxpublic static ElementAccessCheckResult CheckUIElementAccessHierarchical(
	UIElementInfo element,
	MacroResolver contextResolver = null,
	int rootElementId = 0
)
Parameters
- element
 - Type: CMS.ModulesUIElementInfo
Starting UI element. - contextResolver (Optional)
 - Type: CMS.MacroEngineMacroResolver
The context resolver for macro in ElementAccessCondition. - rootElementId (Optional)
 - Type: SystemInt32
The root element ID. If set the access is not checked over this element. 
Return Value
Type: 
ElementAccessCheckResultReturns 
ElementAccessCheckResult type with access check result.
See Also