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.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
AuthorizationResultEnumSee Also