IADsContainer Method: CopyHereWithSelectedFilesPermissions

CopyHereWithSelectedFilePermissions
(
 SourceName As String,
 NewName As String,
 ShareName As String,
 WildCard As String
) As IADs;

Parameters

[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 ShareName
The ShareNames for which the permissions are kept intact.

[in] String WildCard
The Sharenames that uses the WildCard character defined.

Description
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 only specified ShareName. This method does not support the Computer object.

 

See Also