UserSecurityHelper IsAuthorizedPerUIElement Method (String,  String , String, UserInfo)Kentico 8.1 API Reference
Checks whether the user is authorized for given resource name and UIElements, returns true if so.

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

Parameters

resourceName
Type: OnlineSystem String
Resource name
elementNames
Type:  OnlineSystem String 
UIElement names to check
siteName
Type: OnlineSystem String
Site name
userInfo
Type: CMS.Membership UserInfo
User to check

Return Value

Type: OnlineBoolean
See Also