Checks permission and access condition condition for single UI element.
If element's ElementCheckModuleReadPermission property and automaticReadCheck are set, read permission for element's module is also checked.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- element
- Type: CMS.Modules UIElementInfo
Element info
- resolver (Optional)
- Type: CMS.MacroEngine MacroResolver
Macro resolver
- automaticReadCheck (Optional)
- Type: System Boolean
Indicates whether read module permission should be checked. Has no effect when element's ElementCheckModuleReadPermission property is false.
Return Value
Type: ElementAccessCheckResultSee Also