Click or drag to resize
DocumentSecurityHelper Class
Helper class to check the document security
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngineDocumentSecurityHelper

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static class DocumentSecurityHelper

The DocumentSecurityHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetNodePermissionEnum
Converts the given permission to the node permission
Public methodStatic memberIsAuthorizedPerDocument(Int32, String, NodePermissionsEnum, String, UserInfo)
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
Public methodStatic memberIsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, Boolean, String, UserInfo)
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
Public methodStatic memberIsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, Boolean, String, UserInfo)
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
Public methodStatic memberIsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, String, Boolean, String, UserInfo) Obsolete.
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
Public methodStatic memberIsAuthorizedPerDocument(TreeNode, NodePermissionsEnum, String, Boolean, String, UserInfo) Obsolete.
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.
Public methodStatic memberIsAuthorizedPerTreeNode(Int32, NodePermissionsEnum, String, UserInfo)
Checks whether the user is authorized for the given document and permission, returns the authorization result. Doesn't check the allowed cultures of an user.
Public methodStatic memberIsAuthorizedPerTreeNode(TreeNode, NodePermissionsEnum, String, UserInfo)
Checks whether the user is authorized for the given document and permission, returns the authorization result. Doesn't check the allowed cultures of an user.
Public methodStatic memberIsAuthorizedPerTreeNode(TreeNode, NodePermissionsEnum, String, Boolean, UserInfo)
Checks whether the user is authorized for the given document and permission, returns the authorization result.
Public methodStatic memberIsAuthorizedToCreateNewDocument(Int32, String, String, UserInfo)
Checks whether the user is authorized to create new document.
Public methodStatic memberIsAuthorizedToCreateNewDocument(TreeNode, String, String, UserInfo)
Checks whether the user is authorized to create new document.
Public methodStatic memberIsAuthorizedToCreateNewDocument(Int32, String, String, String, UserInfo) Obsolete.
Checks whether the user is authorized to create new document.
Public methodStatic memberIsAuthorizedToCreateNewDocument(TreeNode, String, String, String, UserInfo) Obsolete.
Checks whether the user is authorized to create new document.
Public methodStatic memberIsUserAuthorizedPerContent
Determines whether current user is authorized to access Content module.
Top
See Also