Copies the node to the specified location, optionally with permissions and child nodes. The copy is named according to the parameter and assigned to given owner and group.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- node
- Type: CMS.DocumentEngine TreeNode
Node to copy
- targetParentNodeId
- Type: System Int32
Target location
- includeChildNodes (Optional)
- Type: System Boolean
Copy also the node child nodes
- newDocumentsOwner (Optional)
- Type: System Int32
Owner of the new documents
- newDocumentsGroup (Optional)
- Type: System Int32
Group of the new documents
- copyPermissions (Optional)
- Type: System Boolean
Indicates whether document permissions should be copied.
- newDocumentName (Optional)
- Type: System String
New document name
Return Value
Type: TreeNodeSee Also