Click or drag to resize
TreeSecurityProviderIsAuthorizedPerACL Method (Int32, NodePermissionsEnum, UserInfo, Int32)
Returns true if specified user is granted with given permission for the ACL specified by the ACLID value.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static AuthorizationResultEnum IsAuthorizedPerACL(
	int aclId,
	NodePermissionsEnum permission,
	UserInfo userInfo,
	int siteId
)

Parameters

aclId
Type: SystemInt32
ACLID value
permission
Type: CMS.DocumentEngineNodePermissionsEnum
Required permission
userInfo
Type: CMS.MembershipUserInfo
Current user info object
siteId
Type: SystemInt32
Site ID

Return Value

Type: AuthorizationResultEnum
Remarks
If specified ACLID does not exist, true is returned.
See Also