IADsContainer Method: CopyHereEx

 SourceName As String,
 NewName As String,
 FileName As String,
 FlagCopy As Boolean
) As IADs;


[in] String SourceName
ADsPath of a User you are copying.

[in] String NewName
The New name of the copied user. If it is an empty string, the same name is retained after copying.

[in] String FileName
The name of the Permissions file to be copied.

[in]Boolean FileCopy
Flag indicating whether to copy the Permissions file or not.

Creates a new user in a container identical to the specified user and returns a pointer to the new user. It also copies the user with permissions intact for only one File. This method does not support the Computer object.


See Also