Click or drag to resize
ForumRoleInfoProviderSetPermissions Method
Sets permissions for list of roles.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntax
C#
public static void SetPermissions(
	int forumId,
	IEnumerable<int> roleIds,
	IEnumerable<int> permissionsIds
)

Parameters

forumId
Type: SystemInt32
Forum ID
roleIds
Type: System.Collections.GenericIEnumerableInt32
List of role IDs
permissionsIds
Type: System.Collections.GenericIEnumerableInt32
List of permission IDs
See Also