PollInfoProvider
IsRoleAllowedForPoll Method
Kentico 8.1 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.1.5347.20411)
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