BlogHelperIsUserAuthorizedToManageComments Method |
Checks if the current user is allowed to manage comments of the blog placed on specified node.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 10.0.0
Syntax public static bool IsUserAuthorizedToManageComments(
TreeNode blogNode,
bool exceptionOnFailure = false
)
Parameters
- blogNode
- Type: CMS.DocumentEngineTreeNode
Node the blog resides at - exceptionOnFailure (Optional)
- Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails
Return Value
Type:
BooleanSee Also