I need to create a small C # Windows application that copies security permissions from one folder to another. This also includes copy permissions for groups. What would be the best way to approach such a problem?
Joseph Keset
First, exit the DirectoryInfo folder , then pull out the DirectorySecurity instance using the GetAccessControl method . You can then call GetAccessRules and AddAccessRule , which I hope will begin.
, , , AccessChk ( -l ), , AccessChk.
-l