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: 9.0.0
Syntax
C#
public static class DocumentSecurityHelper

The DocumentSecurityHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetFlagFromPermission
Gets the specific flag value from the given permission
Public methodStatic memberGetNodePermissionEnum
Converts the given permission to the node permission
Public methodStatic memberGetNodePermissionFlags
Aggregates the given permissions into the value which represents permission flags within Denied or Allowed
Public methodStatic memberGetNodePermissionsFromFlags
Parses the given permission flags as stored in Denied or Allowed to a list of permissions.
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 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 memberIsUserAuthorizedPerContent
Determines whether current user is authorized to access Content module.
Top
See Also