PollInfoProviderIsRoleAllowedForPoll Method |
Returns true if the role is allowed within the poll.
Namespace: CMS.PollsAssembly: CMS.Polls (in CMS.Polls.dll) Version: 9.0.0
Syntaxpublic static bool IsRoleAllowedForPoll(
int pollId,
string roleName
)
Parameters
- pollId
- Type: SystemInt32
Poll ID - roleName
- Type: SystemString
Role name
Return Value
Type:
Boolean
See Also