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