TreeSecurityProvider IsAuthorizedPerACL Method (Int32,  NodePermissionsEnum , UserInfo, Int32, Int32)Kentico 8.1 API Reference
Returns true if specified user is granted with given permissions for the ACL specified by the ACLID value.

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

Parameters

aclId
Type: OnlineSystem Int32
ACLID value
permissions
Type:  CMS.DocumentEngine NodePermissionsEnum 
Required list of permissions
userInfo
Type: CMS.Membership UserInfo
Current user info object
siteId
Type: OnlineSystem Int32
Site ID
parentNodeId (Optional)
Type: OnlineSystem Int32
Parent node ID for 'ExploreTree' permission check

Return Value

Type:  AuthorizationResultEnum 
Remarks

If specified ACLID does not exist, true is returned.
See Also