ForumInfoProviderAddRoleToForum Method |
Adds specified role to the forum.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntaxpublic 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