Click or drag to resize
DocumentSecurityHelperIsAuthorizedPerDocument Method (TreeNode, NodePermissionsEnum, Boolean, String, UserInfo)
Checks if the user is authorized for specified document (Checks all CONTENT, Document type and ACL permissions).

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static AuthorizationResultEnum IsAuthorizedPerDocument(
	TreeNode node,
	NodePermissionsEnum[] permissions,
	bool checkUserAllowedCultures,
	string culture,
	UserInfo userInfo
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
permissions
Type: CMS.DocumentEngineNodePermissionsEnum
Permissions to check
checkUserAllowedCultures
Type: SystemBoolean
Indicates if the allowed cultures of the user should be checked
culture
Type: SystemString
Culture to check
userInfo
Type: CMS.MembershipUserInfo
User to check

Return Value

Type: AuthorizationResultEnum
See Also