<PackageReference Include="System.Security.AccessControl" Version="6.0.0-rc.2.21480.5" />

System.Security.AccessControl.CommonObjectSecurity

public abstract class CommonObjectSecurity : ObjectSecurity
Controls access to objects without direct manipulation of access control lists (ACLs). This class is the abstract base class for the NativeObjectSecurity class.
namespace System.Security.AccessControl { public abstract class CommonObjectSecurity : ObjectSecurity { protected CommonObjectSecurity(bool isContainer); protected void AddAccessRule(AccessRule rule); protected void AddAuditRule(AuditRule rule); public AuthorizationRuleCollection GetAccessRules(bool includeExplicit, bool includeInherited, Type targetType); public AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, Type targetType); protected bool RemoveAccessRule(AccessRule rule); protected void RemoveAccessRuleAll(AccessRule rule); protected void RemoveAccessRuleSpecific(AccessRule rule); protected bool RemoveAuditRule(AuditRule rule); protected void RemoveAuditRuleAll(AuditRule rule); protected void RemoveAuditRuleSpecific(AuditRule rule); protected void ResetAccessRule(AccessRule rule); protected void SetAccessRule(AccessRule rule); protected void SetAuditRule(AuditRule rule); } }