public static void SetAccessControl (string path, DirectorySecurity directorySecurity) { if (null == directorySecurity) throw new ArgumentNullException ("directorySecurity"); directorySecurity.PersistModifications (path); }
public static void SetAccessControl (string path, DirectorySecurity directorySecurity) { if (null == directorySecurity) throw new ArgumentNullException ("directorySecurity"); directorySecurity.PersistModifications (path); }