Click or drag to resize
PollInfoProviderIsRoleAllowedForPoll Method
Returns true if the role is allowed within the poll.

Namespace: CMS.Polls
Assembly: CMS.Polls (in CMS.Polls.dll) Version: 8.2.23
Syntax
C#
public static bool IsRoleAllowedForPoll(
	int pollId,
	string roleName
)

Parameters

pollId
Type: SystemInt32
Poll ID
roleName
Type: SystemString
Role name

Return Value

Type: Boolean
See Also