6 writes to DiscretionaryAcl
mscorlib (6)
system\security\accesscontrol\commonobjectsecurity.cs (1)
236
_securityDescriptor.
DiscretionaryAcl
= new DiscretionaryAcl( IsContainer, IsDS, GenericAcl.AclRevision, 1 );
system\security\accesscontrol\directoryobjectsecurity.cs (2)
266
_securityDescriptor.
DiscretionaryAcl
= new DiscretionaryAcl(IsContainer, IsDS, GenericAcl.AclRevisionDS, 1);
284
_securityDescriptor.
DiscretionaryAcl
= new DiscretionaryAcl(IsContainer, IsDS, new RawAcl(binaryForm, 0));
system\security\accesscontrol\objectsecurity.cs (2)
134
_securityDescriptor.
DiscretionaryAcl
= new DiscretionaryAcl( IsContainer, IsDS, newOne.DiscretionaryAcl, true );
138
_securityDescriptor.
DiscretionaryAcl
= null;
system\security\accesscontrol\securitydescriptor.cs (1)
1245
this.
DiscretionaryAcl
= new DiscretionaryAcl(this.IsContainer, this.IsDS, revision, trusted);
49 references to DiscretionaryAcl
mscorlib (46)
system\security\accesscontrol\commonobjectsecurity.cs (16)
64
acl = _securityDescriptor.
DiscretionaryAcl
;
226
if ( _securityDescriptor.
DiscretionaryAcl
== null )
247
_securityDescriptor.
DiscretionaryAcl
.AddAccess( AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
251
_securityDescriptor.
DiscretionaryAcl
.SetAccess( AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
255
_securityDescriptor.
DiscretionaryAcl
.RemoveAccess( AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, 0 );
256
_securityDescriptor.
DiscretionaryAcl
.SetAccess( AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
260
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess( AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
264
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess( AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, 0 );
274
_securityDescriptor.
DiscretionaryAcl
.RemoveAccessSpecific( AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
288
_securityDescriptor.
DiscretionaryAcl
.AddAccess( AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
292
_securityDescriptor.
DiscretionaryAcl
.SetAccess( AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
296
_securityDescriptor.
DiscretionaryAcl
.RemoveAccess( AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, 0 );
297
_securityDescriptor.
DiscretionaryAcl
.SetAccess( AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
301
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
305
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, 0 );
315
_securityDescriptor.
DiscretionaryAcl
.RemoveAccessSpecific( AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags );
system\security\accesscontrol\directoryobjectsecurity.cs (19)
62
acl = _securityDescriptor.
DiscretionaryAcl
;
258
if (_securityDescriptor.
DiscretionaryAcl
== null)
275
if ( _securityDescriptor.
DiscretionaryAcl
.Revision < GenericAcl.AclRevisionDS )
280
byte[] binaryForm = new byte[_securityDescriptor.
DiscretionaryAcl
.BinaryLength];
281
_securityDescriptor.
DiscretionaryAcl
.GetBinaryForm(binaryForm, 0);
296
_securityDescriptor.
DiscretionaryAcl
.AddAccess(AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
300
_securityDescriptor.
DiscretionaryAcl
.SetAccess(AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
304
_securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
305
_securityDescriptor.
DiscretionaryAcl
.SetAccess(AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
309
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
313
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
323
_securityDescriptor.
DiscretionaryAcl
.RemoveAccessSpecific(AccessControlType.Allow, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
337
_securityDescriptor.
DiscretionaryAcl
.AddAccess(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
341
_securityDescriptor.
DiscretionaryAcl
.SetAccess(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
345
_securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
346
_securityDescriptor.
DiscretionaryAcl
.SetAccess(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
350
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
354
result = _securityDescriptor.
DiscretionaryAcl
.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
364
_securityDescriptor.
DiscretionaryAcl
.RemoveAccessSpecific(AccessControlType.Deny, sid, rule.AccessMask, rule.InheritanceFlags, rule.PropagationFlags, rule.ObjectFlags, rule.ObjectType, rule.InheritedObjectType);
system\security\accesscontrol\nativeobjectsecurity.cs (2)
238
if (_securityDescriptor.
DiscretionaryAcl
.EveryOneFullAccessForNullDacl)
244
dacl = _securityDescriptor.
DiscretionaryAcl
;
system\security\accesscontrol\securitydescriptor.cs (9)
1170
get { return (
DiscretionaryAcl
== null ||
DiscretionaryAcl
.IsCanonical ); }
1202
if ( !preserveInheritance &&
DiscretionaryAcl
!= null )
1204
DiscretionaryAcl
.RemoveInheritedAces();
1209
if (
DiscretionaryAcl
!= null &&
DiscretionaryAcl
.EveryOneFullAccessForNullDacl)
1211
DiscretionaryAcl
.EveryOneFullAccessForNullDacl = false;
1223
if (
DiscretionaryAcl
!= null )
1225
DiscretionaryAcl
.Purge( sid );
System.ServiceModel (1)
System\ServiceModel\Activation\Utility.cs (1)
259
DiscretionaryAcl dacl = securityDescriptor.
DiscretionaryAcl
;
WsatConfig (1)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
324
DiscretionaryAcl dacl = securityDescriptor.
DiscretionaryAcl
;
WsatUI (1)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
324
DiscretionaryAcl dacl = securityDescriptor.
DiscretionaryAcl
;