ContactHelper AuthorizedForObject Method Kentico 8.1 API Reference
Returns true if user is authorized per resource

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

Parameters

siteID
Type: OnlineSystem Int32
Object's site ID
permissionSite
Type: OnlineSystem String
Name of the permission for site objects
permissionGlobal
Type: OnlineSystem String
Name of the permission for global objects
globalSetting
Type: OnlineSystem String
Name of settings for global objects
noPermissionRedirect
Type: OnlineSystem Boolean
Indicates if redirect should be done when not enough permissions

Return Value

Type: OnlineBoolean
Returns TRUE if user is authorized for the object
See Also