Dynamicweb 8 Documentation
CopyPermissions Method

Copy the permissions of the current folder and its subfolders.
Syntax
'Declaration
 
Public Shared Sub CopyPermissions( _ 
   ByVal source As DirectoryInfo, _ 
   ByVal target As DirectoryInfo, _ 
   ByVal root As String, _ 
   ByVal withPermissions As Boolean _ 
) 
public static void CopyPermissions( 
   DirectoryInfo source,
   DirectoryInfo target,
   string root,
   bool withPermissions 
)

Parameters

source
target
root
withPermissions
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Permission Class
Permission Members

Send Feedback