Click or drag to resize
ForumRoleInfoProviderAddRoleToForum Method
Adds specified role to the forum.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static void AddRoleToForum(
	int roleId,
	int forumId,
	int permissionId
)

Parameters

roleId
Type: SystemInt32
RoleID
forumId
Type: SystemInt32
ForumID
permissionId
Type: SystemInt32
Permission ID
See Also