<PackageReference Include="System.Security.AccessControl" Version="4.6.0-preview3.19128.7" />

DiscretionaryAcl

public sealed class DiscretionaryAcl : CommonAcl
Represents a Discretionary Access Control List (DACL).
using System.Security.Principal; namespace System.Security.AccessControl { public sealed class DiscretionaryAcl : CommonAcl { public DiscretionaryAcl(bool isContainer, bool isDS, byte revision, int capacity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public DiscretionaryAcl(bool isContainer, bool isDS, int capacity) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public DiscretionaryAcl(bool isContainer, bool isDS, RawAcl rawAcl) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void AddAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void AddAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void AddAccess(AccessControlType accessType, SecurityIdentifier sid, ObjectAccessRule rule) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public bool RemoveAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public bool RemoveAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public bool RemoveAccess(AccessControlType accessType, SecurityIdentifier sid, ObjectAccessRule rule) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void RemoveAccessSpecific(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void RemoveAccessSpecific(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void RemoveAccessSpecific(AccessControlType accessType, SecurityIdentifier sid, ObjectAccessRule rule) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetAccess(AccessControlType accessType, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } public void SetAccess(AccessControlType accessType, SecurityIdentifier sid, ObjectAccessRule rule) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); } } }