ModelUtilsCopy Method (IRepository, ListIFolder, ListIObject, IFolder, ModelUtilsCopyOptions, String, ListAuthorizationEntry, ListAuthorizationEntry) |
Namespace: PDTec.IceNet.Sdk.Utils
public static List<IFolder> Copy( IRepository pRepository, List<IFolder> ltFolders, List<IObject> ltObjects, IFolder pTargetFolder, ModelUtilsCopyOptions options, string userName, List<AuthorizationEntry> ltAdditionalFolderAuthorizations, List<AuthorizationEntry> ltAdditionalObjectAuthorizations )
If the ltFolders and ltObjects containers contain intersecting content the result can be unexpected. The caller is responsible for providing disjoint ltFolders and ltObjects arguments.
Write permission to the target folder is not checked by this method. If this is required, the caller is responsible to check for appropriate authorizations before calling the Copy method.