<PackageReference Include="System.Security.Permissions" Version="9.0.0-preview.5.24306.7" />

DirectoryServicesPermissionEntry

The DirectoryServicesPermissionEntry class defines the smallest unit of a code access security permission set for DirectoryServices.
public string Path { get; }

The Path property gets a path to an Active Directory Domain Services node to which the permissions apply.

The PermissionAccess property gets the access levels used in creating permissions.

The #ctor constructor initializes a new instance of the #ctor class.