CMSPollsPageCheckPollsModifyPermission Method (Int32, Boolean) |
Checks "modify" permission of site/global poll for current user.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax public bool CheckPollsModifyPermission(
int siteId,
bool autoRedirect
)
Parameters
- siteId
- Type: SystemInt32
Poll site ID - autoRedirect
- Type: SystemBoolean
Indicates if page should be automatically redirected to access denied page if permission check fails.
Return Value
Type:
BooleanSee Also