8 instantiations of DiscretionaryAcl
System.IO.FileSystem.AccessControl (1)
System\Security\AccessControl\DirectoryObjectSecurity.cs (1)
284SecurityDescriptor.DiscretionaryAcl = new DiscretionaryAcl(IsContainer, IsDS, new RawAcl(binaryForm, 0));
System.Security.AccessControl (7)
System\Security\AccessControl\ACL.cs (1)
3189DiscretionaryAcl dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\CommonObjectSecurity.cs (1)
244_securityDescriptor.DiscretionaryAcl = new DiscretionaryAcl(IsContainer, IsDS, GenericAcl.AclRevision, 1);
System\Security\AccessControl\ObjectSecurity.cs (2)
70DiscretionaryAcl dacl = new DiscretionaryAcl(isContainer, isDS, 5); 122_securityDescriptor.DiscretionaryAcl = new DiscretionaryAcl(IsContainer, IsDS, newOne.DiscretionaryAcl, true);
System\Security\AccessControl\SecurityDescriptor.cs (3)
909: this(isContainer, isDS, flags, owner, group, systemAcl == null ? null : new SystemAcl(isContainer, isDS, systemAcl), discretionaryAcl == null ? null : new DiscretionaryAcl(isContainer, isDS, discretionaryAcl)) 929rawSecurityDescriptor.DiscretionaryAcl == null ? null : new DiscretionaryAcl(isContainer, isDS, rawSecurityDescriptor.DiscretionaryAcl, trusted)); 1191this.DiscretionaryAcl = new DiscretionaryAcl(this.IsContainer, this.IsDS, revision, trusted);
15 references to DiscretionaryAcl
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
812[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.AccessControl.DiscretionaryAcl))]
System.Security.AccessControl (14)
System\Security\AccessControl\ACL.cs (5)
829Canonicalize(false, this is DiscretionaryAcl); 1980if (!InspectAce(ref newAce, this is DiscretionaryAcl)) 2058if (!InspectAce(ref newAce, this is DiscretionaryAcl)) 3187internal static DiscretionaryAcl CreateAllowEveryoneFullAccess(bool isDS, bool isContainer) 3189DiscretionaryAcl dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\NativeObjectSecurity.cs (1)
192DiscretionaryAcl? dacl = null;
System\Security\AccessControl\ObjectSecurity.cs (1)
70DiscretionaryAcl dacl = new DiscretionaryAcl(isContainer, isDS, 5);
System\Security\AccessControl\SecurityDescriptor.cs (7)
124return (GenericDacl is DiscretionaryAcl dacl) && dacl.EveryOneFullAccessForNullDacl; 806private DiscretionaryAcl? _dacl; 813private void CreateFromParts(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl, DiscretionaryAcl? discretionaryAcl) 869discretionaryAcl ??= DiscretionaryAcl.CreateAllowEveryoneFullAccess(_isDS, _isContainer); 903public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl, DiscretionaryAcl? discretionaryAcl) 1075public DiscretionaryAcl? DiscretionaryAcl 1111_dacl = DiscretionaryAcl.CreateAllowEveryoneFullAccess(IsDS, IsContainer);