CMSPage CheckUIElementAccessHierarchical Method Kentico 8.1 API Reference
Overload List

  NameDescription
Public methodStatic memberCheckUIElementAccessHierarchical(UIElementInfo, MacroResolver, Int32, Boolean)
Checks the permissions of all UI elements hierarchically starting with specified UI element. Use optional parameter (contextResolver) and macro in ElementAccessCondition will be also checked. Use two optional parameters (isDialog, rootElementId) if your ui element is dialog. In case of insufficient permissions appropriate redirection is made.
Public methodStatic memberCheckUIElementAccessHierarchical(String, String, MacroResolver, Int32, Boolean)
Checks the permissions of all UI elements hierarchically starting with specified UI element. Use optional parameter "contextResolver" and macro in ElementAccessCondition will be also checked. Use optional parameter "rootElementId" if your UI element is in a dialog. RootElementId variable identifies the UI element which is used in the top frame of the dialog. In case of insufficient permissions appropriate redirection is made.
Back to Top
See Also