ModelUtilsCopy Method (IRepository, IFolder, IFolder, ModelUtilsCopyOptions, String, ListAuthorizationEntry, ListAuthorizationEntry) |
Copies a folder to a target folder.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static IFolder Copy(
IRepository pRepository,
IFolder pFolder,
IFolder pTargetFolder,
ModelUtilsCopyOptions options,
string userName,
List<AuthorizationEntry> ltAdditionalFolderAuthorizations,
List<AuthorizationEntry> ltAdditionalObjectAuthorizations
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.ModelIRepository
The repository. - pFolder
- Type: PDTec.IceNet.Core.ModelIFolder
The folder to be copied. - pTargetFolder
- Type: PDTec.IceNet.Core.ModelIFolder
The target folder. - options
- Type: PDTec.IceNet.Sdk.UtilsModelUtilsCopyOptions
The copy options. See ModelUtilsCopyOptions. - userName
- Type: SystemString
The user name that is used to check read authorization. - ltAdditionalFolderAuthorizations
- Type: System.Collections.GenericListAuthorizationEntry
Additional authorizations to be set for all created folders. - ltAdditionalObjectAuthorizations
- Type: System.Collections.GenericListAuthorizationEntry
Additional authorizations to be set for all created objects.
Return Value
Type:
IFolderThe new folder that correspond to to the
pFolder folder.
Remarks
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.
See Also