Click or drag to resize
CMSPollsPageCheckPollsModifyPermission Method (Int32, Boolean)
Checks "modify" permission of site/global poll for current user.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
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: Boolean
See Also