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: 10.0.0
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