IADsContainer Method: CopyHereWithAllFilesPermissions

 SourceName As String,
 NewName As String
) 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.

Creates a new user in a container identical to the specified user and returns a pointer to the new user. The user is copied with permissions intact for all files in the entire network. This method does not support the Computer object.


See Also