TreeSecurityProviderIsAuthorizedPerNode Method |
Returns true if user is granted with specified permission for particular node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static AuthorizationResultEnum IsAuthorizedPerNode(
TreeNode node,
NodePermissionsEnum permission,
UserInfo userInfo,
bool checkUserAllowedCultures = true,
string culture = null
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Document node - permission
- Type: CMS.DocumentEngineNodePermissionsEnum
Permission name - userInfo
- Type: CMS.MembershipUserInfo
UserInfo instance - checkUserAllowedCultures (Optional)
- Type: SystemBoolean
Indicates if the allowed cultures of the user should be checked - culture (Optional)
- Type: SystemString
Document culture to be checked
Return Value
Type:
AuthorizationResultEnumSee Also