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

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntax
C#
public static bool IsAuthorizedPerForum(
	int forumId,
	int forumGroupId,
	string permissionName,
	SecurityAccessEnum permissionScope,
	UserInfo user
)

Parameters

forumId
Type: SystemInt32
Forum id
forumGroupId
Type: SystemInt32
ID of the Forum group of the forum
permissionName
Type: SystemString
Name of the permission to check
permissionScope
Type: CMS.HelpersSecurityAccessEnum
Permission to check
user
Type: CMS.MembershipUserInfo
User info

Return Value

Type: Boolean
See Also