CMSPollsPage CheckPollsModifyPermission Method (Int32, Boolean)Kentico 8.0 API Reference
Checks "modify" permission of site/global poll for current user.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteId
Type: OnlineSystem Int32
Poll site ID
autoRedirect
Type: OnlineSystem Boolean
Indicates if page should be automatically redirected to access denied page if permission check fails.

Return Value

Type: OnlineBoolean
See Also