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
Syntaxpublic 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:
Boolean
See Also