Click or drag to resize
ContentActionsControlIsUserAuthorizedToCopyOrLink Method
Determines whether current user is authorized to copy document.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
protected bool IsUserAuthorizedToCopyOrLink(
	TreeNode sourceNode,
	TreeNode targetNode,
	string sourceNodeClassName
)

Parameters

sourceNode
Type: CMS.DocumentEngineTreeNode
Source node
targetNode
Type: CMS.DocumentEngineTreeNode
Target node
sourceNodeClassName
Type: SystemString
Source node class name

Return Value

Type: Boolean
True if authorized
See Also