ForumPostInfoApprove Method (Int32, Boolean) |
Approves this post by specified user id and optionally all its sub-posts.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax 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