using System.Security.AccessControl; ... FileSystemAccessRule fsRule = new FileSystemAccessRule("Users", FileSystemRights.ReadAndExecute, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow);In this example, we create a FileSystemAccessRule object and pass in the following parameters: 1. "Users" - the user or group that the rule applies to 2. FileSystemRights.ReadAndExecute - the level of access granted to the user or group 3. InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit - specifies that the rule is inherited by child containers and objects 4. PropagationFlags.None - specifies that the rule does not propagate to child objects 5. AccessControlType.Allow - specifies that the user or group is allowed access The package library for InheritanceFlags in C# is System.Security.AccessControl.