UserInfoProvider IsAuthorizedPerClassInternal Method Kentico 8.1 API Reference
Returns true if user is granted with specified permission for particular class.

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

Parameters

className
Type: OnlineSystem String
Class name in format application.class
permissionName
Type: OnlineSystem String
Permission name
siteName
Type: OnlineSystem String
Site name for which check the permissions
userInfo
Type: CMS.Membership UserInfo
User info object
exceptionOnFailure
Type: OnlineSystem Boolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: OnlineBoolean
See Also