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

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

Parameters

roleId
Type: SystemInt32
Role ID
forumId
Type: SystemInt32
Forum ID
permissionId
Type: SystemInt32
Permission ID
See Also