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)
3189
DiscretionaryAcl 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)
70
DiscretionaryAcl 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))
929
rawSecurityDescriptor.DiscretionaryAcl == null ? null : new
DiscretionaryAcl
(isContainer, isDS, rawSecurityDescriptor.DiscretionaryAcl, trusted));
1191
this.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)
829
Canonicalize(false, this is
DiscretionaryAcl
);
1980
if (!InspectAce(ref newAce, this is
DiscretionaryAcl
))
2058
if (!InspectAce(ref newAce, this is
DiscretionaryAcl
))
3187
internal static
DiscretionaryAcl
CreateAllowEveryoneFullAccess(bool isDS, bool isContainer)
3189
DiscretionaryAcl
dcl = new DiscretionaryAcl(isContainer, isDS, 1);
System\Security\AccessControl\NativeObjectSecurity.cs (1)
192
DiscretionaryAcl
? dacl = null;
System\Security\AccessControl\ObjectSecurity.cs (1)
70
DiscretionaryAcl
dacl = new DiscretionaryAcl(isContainer, isDS, 5);
System\Security\AccessControl\SecurityDescriptor.cs (7)
124
return (GenericDacl is
DiscretionaryAcl
dacl) && dacl.EveryOneFullAccessForNullDacl;
806
private
DiscretionaryAcl
? _dacl;
813
private void CreateFromParts(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl,
DiscretionaryAcl
? discretionaryAcl)
869
discretionaryAcl ??=
DiscretionaryAcl
.CreateAllowEveryoneFullAccess(_isDS, _isContainer);
903
public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, SystemAcl? systemAcl,
DiscretionaryAcl
? discretionaryAcl)
1075
public
DiscretionaryAcl
? DiscretionaryAcl
1111
_dacl =
DiscretionaryAcl
.CreateAllowEveryoneFullAccess(IsDS, IsContainer);