Click or drag to resize
ForumPostInfoApprove Method (Int32, Boolean)
Approves this post by specified user id and optionally all its sub-posts.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 10.0.0
Syntax
C#
public void Approve(
	int userId,
	bool withSubtree
)

Parameters

userId
Type: SystemInt32
The user id
withSubtree
Type: SystemBoolean
If set to true all sub-posts of this post are approved too
See Also