PollInfoProvider
IsRoleAllowedForPoll Method
Kentico 8.0 API Reference
Returns true if the role is allowed within the poll.
Namespace:
CMS.Polls
Assembly:
CMS.Polls
(in CMS.Polls.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
pollId
Type:
System
Int32
Poll ID
roleName
Type:
System
String
Role name
Return Value
Type:
Boolean
See Also
PollInfoProvider Class
PollInfoProvider Members
CMS.Polls Namespace