<PackageReference Include="System.Security.AccessControl" Version="4.5.0-rc1" />

CommonObjectSecurity

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)