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

ObjectAccessRule

public abstract class ObjectAccessRule : AccessRule
Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). An ObjectAccessRule object also contains information about the type of object to which the rule applies, the type of child object that can inherit the rule, how the rule is inherited by child objects, and how that inheritance is propagated.
public Guid InheritedObjectType { get; }

Gets the type of child object that can inherit the ObjectAccessRule object.

public ObjectAceFlags ObjectFlags { get; }

Gets flags that specify if the ObjectType and InheritedObjectType properties of the ObjectAccessRule object contain valid values.

public Guid ObjectType { get; }

Gets the type of object to which the ObjectAccessRule applies.

protected ObjectAccessRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AccessControlType type)

Initializes a new instance of the ObjectAccessRule class with the specified values.