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)
2567DiscretionaryAcl dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\CommonObjectSecurity.cs (1)
220_securityDescriptor.DiscretionaryAcl = new DiscretionaryAcl(IsContainer, IsDS, GenericAcl.AclRevision, 1);
System\Security\AccessControl\ObjectSecurity.cs (2)
54DiscretionaryAcl dacl = new DiscretionaryAcl(isContainer, isDS, 5); 102_securityDescriptor.DiscretionaryAcl = new DiscretionaryAcl(IsContainer, IsDS, newOne.DiscretionaryAcl, true);
System\Security\AccessControl\SecurityDescriptor.cs (3)
685: this(isContainer, isDS, flags, owner, group, systemAcl == null ? null : new SystemAcl(isContainer, isDS, systemAcl), discretionaryAcl == null ? null : new DiscretionaryAcl(isContainer, isDS, discretionaryAcl)) 705rawSecurityDescriptor.DiscretionaryAcl == null ? null : new DiscretionaryAcl(isContainer, isDS, rawSecurityDescriptor.DiscretionaryAcl, trusted)); 932DiscretionaryAcl = new DiscretionaryAcl(IsContainer, 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)
642Canonicalize(false, this is DiscretionaryAcl); 1601if (!InspectAce(ref newAce, this is DiscretionaryAcl)) 1667if (!InspectAce(ref newAce, this is DiscretionaryAcl)) 2565internal static DiscretionaryAcl CreateAllowEveryoneFullAccess(bool isDS, bool isContainer) 2567DiscretionaryAcl dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\NativeObjectSecurity.cs (1)
166DiscretionaryAcl? dacl = null;
System\Security\AccessControl\ObjectSecurity.cs (1)
54DiscretionaryAcl dacl = new DiscretionaryAcl(isContainer, isDS, 5);
System\Security\AccessControl\SecurityDescriptor.cs (7)
90return (GenericDacl is DiscretionaryAcl dacl) && dacl.EveryOneFullAccessForNullDacl; 605private DiscretionaryAcl? _dacl; 608private void CreateFromParts(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl, DiscretionaryAcl? discretionaryAcl) 658discretionaryAcl ??= DiscretionaryAcl.CreateAllowEveryoneFullAccess(_isDS, _isContainer); 679public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl, DiscretionaryAcl? discretionaryAcl) 823public DiscretionaryAcl? DiscretionaryAcl 856_dacl = DiscretionaryAcl.CreateAllowEveryoneFullAccess(IsDS, IsContainer);