TreeSecurityProviderIsAuthorizedPerACL Method (Int32, NodePermissionsEnum, UserInfo, Int32, Int32) |
Returns true if specified user is granted with given permissions for the ACL specified by the ACLID value.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static AuthorizationResultEnum[] IsAuthorizedPerACL(
int aclId,
NodePermissionsEnum[] permissions,
UserInfo userInfo,
int siteId,
int parentNodeId = 0
)
Parameters
- aclId
- Type: SystemInt32
ACLID value - permissions
- Type: CMS.DocumentEngineNodePermissionsEnum
Required list of permissions - userInfo
- Type: CMS.MembershipUserInfo
Current user info object - siteId
- Type: SystemInt32
Site ID - parentNodeId (Optional)
- Type: SystemInt32
Parent node ID for 'ExploreTree' permission check
Return Value
Type:
AuthorizationResultEnumRemarks If specified ACLID does not exist, true is returned.
See Also