<PackageReference Include="System.Security.AccessControl" Version="5.0.0-rc.2.20475.5" />

AccessRule

public abstract class AccessRule : AuthorizationRule
Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). An AccessRule object also contains information about the how the rule is inherited by child objects and how that inheritance is propagated.

Gets the AccessControlType value associated with this AccessRule object.

protected AccessRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)

Initializes a new instance of the AccessRule class by using the specified values.