UserInfoProvider IsAuthorizedPerUIElement Method (String, IEnumerable String , String, UserInfo, Boolean)Kentico 8.1 API Reference
Indicates if user is authorized to see the specified UI element.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

resourceName
Type: OnlineSystem String
Name of the resource
elementNames
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
Name of the UIElement
siteName
Type: OnlineSystem String
Name of the site
userInfo
Type: CMS.Membership UserInfo
UserInfo object
checkElementsOnly
Type: OnlineSystem Boolean
Indicates if only UI elements will be checked, not settings or special role membership

Return Value

Type: OnlineBoolean
See Also