Click or drag to resize
TreeSecurityProviderIsAuthorizedPerNode Method
Returns true if user is granted with specified permission for particular node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
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: AuthorizationResultEnum
See Also