8 instantiations of DiscretionaryAcl
System.IO.FileSystem.AccessControl (1)
System\Security\AccessControl\DirectoryObjectSecurity.cs (1)
284
SecurityDescriptor.DiscretionaryAcl = new
DiscretionaryAcl
(IsContainer, IsDS, new RawAcl(binaryForm, 0));
System.Security.AccessControl (7)
System\Security\AccessControl\ACL.cs (1)
2567
DiscretionaryAcl 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)
54
DiscretionaryAcl 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))
705
rawSecurityDescriptor.DiscretionaryAcl == null ? null : new
DiscretionaryAcl
(isContainer, isDS, rawSecurityDescriptor.DiscretionaryAcl, trusted));
932
DiscretionaryAcl = 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)
642
Canonicalize(false, this is
DiscretionaryAcl
);
1601
if (!InspectAce(ref newAce, this is
DiscretionaryAcl
))
1667
if (!InspectAce(ref newAce, this is
DiscretionaryAcl
))
2565
internal static
DiscretionaryAcl
CreateAllowEveryoneFullAccess(bool isDS, bool isContainer)
2567
DiscretionaryAcl
dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\NativeObjectSecurity.cs (1)
166
DiscretionaryAcl
? dacl = null;
System\Security\AccessControl\ObjectSecurity.cs (1)
54
DiscretionaryAcl
dacl = new DiscretionaryAcl(isContainer, isDS, 5);
System\Security\AccessControl\SecurityDescriptor.cs (7)
90
return (GenericDacl is
DiscretionaryAcl
dacl) && dacl.EveryOneFullAccessForNullDacl;
605
private
DiscretionaryAcl
? _dacl;
608
private void CreateFromParts(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl,
DiscretionaryAcl
? discretionaryAcl)
658
discretionaryAcl ??=
DiscretionaryAcl
.CreateAllowEveryoneFullAccess(_isDS, _isContainer);
679
public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl,
DiscretionaryAcl
? discretionaryAcl)
823
public
DiscretionaryAcl
? DiscretionaryAcl
856
_dacl =
DiscretionaryAcl
.CreateAllowEveryoneFullAccess(IsDS, IsContainer);