This property specifies whether access control lists (ACLs) associated with replicated files are replicated along with the files to the destination servers. If True, the Content Deployment server sends the file ACLs associated with the files to the destination servers. If False, the ACLs are not replicated.
Syntax
ReplicationClient.ACLs
Remarks
You must have Site Server Publishing administrator privileges on the server to get or set this property.
You can set this property at any time, but the new settings do not take effect until a connect operation, including SendFile in connectionless mode, is performed.
Example
The following example saves the current ACLs property setting, sets the ACLs property to True (replicate the ACLs with their associated files), and resets the ACLs property when it is finished.
Option Explicit
On Error Resume Next
dim Client
set Client = CreateObject("CrsApi.ReplicationClient")
dim ACLs
Client.Initialize("Project1")
ACLs = Client.ACLs
Client.ACLs = True
Client.DeleteFile("oldfile.htm")
Client.SendFile("newfile.htm")
Client.ACLs = ACLs
'Release Client object
set Client = Nothing
See Also