Click or drag to resize
ForumInfoProviderIsAuthorizedPerForumInternal Method
Indicates whether specified user has assigned specific permission for the specified forum.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax
C#
protected bool IsAuthorizedPerForumInternal(
	int forumId,
	string permissionName,
	UserInfo userInfo,
	int siteId
)

Parameters

forumId
Type: SystemInt32
ID of the forum to check permission for
permissionName
Type: SystemString
Name of the permission
userInfo
Type: CMS.MembershipUserInfo
User info to check permission for
siteId
Type: SystemInt32
ID of the site role should belongs to

Return Value

Type: Boolean
See Also