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: 8.0.0.0 (8.1.5347.20411)
Parameters
- element
- Type: CMS.Modules UIElementInfo
Starting UI element.
- contextResolver (Optional)
- Type: CMS.MacroEngine MacroResolver
The context resolver for macro in ElementAccessCondition.
- rootElementId (Optional)
- Type: System Int32
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