Click or drag to resize
ForumInfoProviderGetForumIdsByForumName Method
Returns IDs of forums with specified name.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax
C#
public static IEnumerable<int> GetForumIdsByForumName(
	string name,
	int siteId
)

Parameters

name
Type: SystemString
Forum name, may contain wildcard e.g. "MyForum_*"
siteId
Type: SystemInt32
Site ID

Return Value

Type: IEnumerableInt32
See Also