DocumentSecurityHelper IsAuthorizedPerDocument Method (TreeNode,  NodePermissionsEnum , Boolean, String, UserInfo)Kentico 8.1 API Reference
Checks if the user is authorized for specified document (Check all CONTENT, CLASS and Document type permissions.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

node
Type: CMS.DocumentEngine TreeNode
Document node
permissions
Type:  CMS.DocumentEngine NodePermissionsEnum 
Permissions to check
checkUserAllowedCultures
Type: OnlineSystem Boolean
Indicates if the allowed cultures of the user should be checked
culture
Type: OnlineSystem String
Culture to check
userInfo
Type: CMS.Membership UserInfo
User to check

Return Value

Type: AuthorizationResultEnum
See Also