86 references to AccessControlModification
mscorlib (86)
system\security\accesscontrol\commonobjectsecurity.cs (37)
213
protected override bool ModifyAccess(
AccessControlModification
modification, AccessRule rule, out bool modified)
228
if ( modification ==
AccessControlModification
.Remove ||
229
modification ==
AccessControlModification
.RemoveAll ||
230
modification ==
AccessControlModification
.RemoveSpecific )
246
case
AccessControlModification
.Add:
250
case
AccessControlModification
.Set:
254
case
AccessControlModification
.Reset:
259
case
AccessControlModification
.Remove:
263
case
AccessControlModification
.RemoveAll:
273
case
AccessControlModification
.RemoveSpecific:
287
case
AccessControlModification
.Add :
291
case
AccessControlModification
.Set :
295
case
AccessControlModification
.Reset :
300
case
AccessControlModification
.Remove :
304
case
AccessControlModification
.RemoveAll :
314
case
AccessControlModification
.RemoveSpecific :
344
protected override bool ModifyAudit(
AccessControlModification
modification, AuditRule rule, out bool modified )
359
if ( modification ==
AccessControlModification
.Remove ||
360
modification ==
AccessControlModification
.RemoveAll ||
361
modification ==
AccessControlModification
.RemoveSpecific )
375
case
AccessControlModification
.Add :
379
case
AccessControlModification
.Set :
383
case
AccessControlModification
.Reset :
387
case
AccessControlModification
.Remove :
391
case
AccessControlModification
.RemoveAll :
400
case
AccessControlModification
.RemoveSpecific :
441
ModifyAccess(
AccessControlModification
.Add, rule, out modified );
462
ModifyAccess(
AccessControlModification
.Set, rule, out modified );
483
ModifyAccess(
AccessControlModification
.Reset, rule, out modified );
511
return ModifyAccess(
AccessControlModification
.Remove, rule, out modified );
537
ModifyAccess(
AccessControlModification
.RemoveAll, rule, out modified );
565
ModifyAccess(
AccessControlModification
.RemoveSpecific, rule, out modified );
586
ModifyAudit(
AccessControlModification
.Add, rule, out modified );
607
ModifyAudit(
AccessControlModification
.Set, rule, out modified );
628
return ModifyAudit(
AccessControlModification
.Remove, rule, out modified );
649
ModifyAudit(
AccessControlModification
.RemoveAll, rule, out modified );
670
ModifyAudit(
AccessControlModification
.RemoveSpecific, rule, out modified );
system\security\accesscontrol\directoryobjectsecurity.cs (45)
254
private bool ModifyAccess(
AccessControlModification
modification, ObjectAccessRule rule, out bool modified)
260
if (modification ==
AccessControlModification
.Remove || modification ==
AccessControlModification
.RemoveAll || modification ==
AccessControlModification
.RemoveSpecific)
269
else if ((modification ==
AccessControlModification
.Add || modification ==
AccessControlModification
.Set || modification ==
AccessControlModification
.Reset ) &&
295
case
AccessControlModification
.Add :
299
case
AccessControlModification
.Set :
303
case
AccessControlModification
.Reset :
308
case
AccessControlModification
.Remove :
312
case
AccessControlModification
.RemoveAll :
322
case
AccessControlModification
.RemoveSpecific :
336
case
AccessControlModification
.Add :
340
case
AccessControlModification
.Set :
344
case
AccessControlModification
.Reset :
349
case
AccessControlModification
.Remove :
353
case
AccessControlModification
.RemoveAll :
363
case
AccessControlModification
.RemoveSpecific :
387
private bool ModifyAudit(
AccessControlModification
modification, ObjectAuditRule rule, out bool modified)
393
if (modification ==
AccessControlModification
.Remove || modification ==
AccessControlModification
.RemoveAll || modification ==
AccessControlModification
.RemoveSpecific)
402
else if ((modification ==
AccessControlModification
.Add || modification ==
AccessControlModification
.Set || modification ==
AccessControlModification
.Reset ) &&
426
case
AccessControlModification
.Add :
430
case
AccessControlModification
.Set :
434
case
AccessControlModification
.Reset :
439
case
AccessControlModification
.Remove :
443
case
AccessControlModification
.RemoveAll :
453
case
AccessControlModification
.RemoveSpecific :
482
protected override bool ModifyAccess(
AccessControlModification
modification, AccessRule rule, out bool modified)
494
protected override bool ModifyAudit(
AccessControlModification
modification, AuditRule rule, out bool modified)
522
ModifyAccess(
AccessControlModification
.Add, rule, out modified);
545
ModifyAccess(
AccessControlModification
.Set, rule, out modified);
566
ModifyAccess(
AccessControlModification
.Reset, rule, out modified);
592
return ModifyAccess(
AccessControlModification
.Remove, rule, out modified);
618
ModifyAccess(
AccessControlModification
.RemoveAll, rule, out modified);
644
ModifyAccess(
AccessControlModification
.RemoveSpecific, rule, out modified);
665
ModifyAudit(
AccessControlModification
.Add, rule, out modified);
686
ModifyAudit(
AccessControlModification
.Set, rule, out modified);
707
return ModifyAudit(
AccessControlModification
.Remove, rule, out modified);
728
ModifyAudit(
AccessControlModification
.RemoveAll, rule, out modified);
749
ModifyAudit(
AccessControlModification
.RemoveSpecific, rule, out modified);
system\security\accesscontrol\objectsecurity.cs (4)
686
protected abstract bool ModifyAccess(
AccessControlModification
modification, AccessRule rule, out bool modified);
687
protected abstract bool ModifyAudit(
AccessControlModification
modification, AuditRule rule, out bool modified );
689
public virtual bool ModifyAccessRule(
AccessControlModification
modification, AccessRule rule, out bool modified)
716
public virtual bool ModifyAuditRule(
AccessControlModification
modification, AuditRule rule, out bool modified)