Click or drag to resize
TreeSecurityProvider Class
Tree provider with an additional security functionality to filter the selection results by the user permissions.
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngineTreeSecurityProvider

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

The TreeSecurityProvider type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFilterDataSetByClassPermissions
Filters all tables of the given DataSet and returns only those records for which the user was granted with required permission.
Public methodStatic memberFilterDataSetByPermissions(DataSet, NodePermissionsEnum, UserInfo, Boolean, Boolean, Int32)
Filters all tables of the given DataSet and returns only those records for which the user was granted with required permission.
Public methodStatic memberFilterDataSetByPermissions(DataSet, NodePermissionsEnum, UserInfo, Boolean, Boolean, Int32)
Filters all tables of the given DataSet and returns only those records for which the user was granted with required permissions.
Public methodStatic memberFilterDataSetByPermissions(DataSet, NodePermissionsEnum, UserInfo, Boolean, String, Int32)
Filters all tables of the given DataSet and returns records with flag columns to identify if user was granted with required permissions.
Public methodStatic memberFilterSearchResults
Returns 1 if current iDocument should be added to the filtered results, returns 2 if current document should be added but position should be decreased
Public methodStatic memberGetPermissionColumnName
Gets name of the column for given permission.
Public methodStatic memberGetPermissionName
Returns name of the permission specified by the enumeration value.
Public methodStatic memberHasUserCultureAllowed
Indicates if user has allowed specified culture.
Public methodStatic memberCheckPermission
Gets result of the given permission and culture from DataRow.
Public methodStatic memberInvalidateTreeNodeAuthorizationResults
Invalidates permission authorization results per node for given user.
Public methodStatic memberIsAuthorizedPerACL(Int32, NodePermissionsEnum, UserInfo, Int32)
Returns true if specified user is granted with given permission for the ACL specified by the ACLID value.
Public methodStatic memberIsAuthorizedPerACL(Int32, NodePermissionsEnum, UserInfo, Int32, Int32)
Returns true if specified user is granted with given permissions for the ACL specified by the ACLID value.
Public methodStatic memberIsAuthorizedPerNode
Returns true if user is granted with specified permission for particular node.
Public methodStatic memberIsAuthorizedPerNodeData
Returns true if user is granted with specified permission for particular node.
Public methodStatic memberIsCultureSpecificPermission
Indicates if given document permission is culture specific.
Top
See Also