56 references to Allow
mscorlib (31)
system\security\accesscontrol\acl.cs (10)
1963
if ( accessType != AccessControlType.
Allow
&&
3132
AddQualifiedAce( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.Empty, Guid.Empty );
3140
SetQualifiedAce( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.Empty, Guid.Empty );
3147
return RemoveQualifiedAces( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), false, ObjectAceFlags.None, Guid.Empty, Guid.Empty );
3154
RemoveQualifiedAcesSpecific(sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.Empty, Guid.Empty );
3177
AddQualifiedAce( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), objectFlags, objectType, inheritedObjectType );
3200
SetQualifiedAce( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), objectFlags, objectType, inheritedObjectType);
3222
return RemoveQualifiedAces(sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), false, objectFlags, objectType, inheritedObjectType );
3244
RemoveQualifiedAcesSpecific( sid, accessType == AccessControlType.
Allow
? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), objectFlags, objectType, inheritedObjectType );
3284
AccessControlType.
Allow
,
system\security\accesscontrol\commonobjectsecurity.cs (9)
134
type = AccessControlType.
Allow
;
242
if ( rule.AccessControlType == AccessControlType.
Allow
)
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 );
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 );
296
_securityDescriptor.DiscretionaryAcl.RemoveAccess( AccessControlType.
Allow
, sid, -1, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, 0 );
system\security\accesscontrol\cryptokeysecurity.cs (1)
79
if (controlType == AccessControlType.
Allow
) {
system\security\accesscontrol\directoryobjectsecurity.cs (9)
195
type = AccessControlType.
Allow
;
291
if (rule.AccessControlType == AccessControlType.
Allow
)
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);
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);
345
_securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.
Allow
, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
system\security\accesscontrol\filesecurity.cs (1)
189
if (controlType == AccessControlType.
Allow
) {
system\security\accesscontrol\rules.cs (1)
138
if ( type != AccessControlType.
Allow
&&
System (1)
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
120
sec.AddAccessRule(new MutexAccessRule(everyoneSid, MutexRights.Synchronize | MutexRights.Modify, AccessControlType.
Allow
));
System.Core (1)
System\IO\Pipes\PipeSecurity.cs (1)
145
if (controlType == AccessControlType.
Allow
) {
System.Runtime.Remoting (2)
channels\ipc\ipcport.cs (2)
58
dacl.AddAccess(AccessControlType.
Allow
, userSid, -1, InheritanceFlags.None, PropagationFlags.None);
60
dacl.AddAccess(AccessControlType.
Allow
, WindowsIdentity.GetCurrent().User, -1, InheritanceFlags.None, PropagationFlags.None);
System.ServiceModel (7)
System\ServiceModel\Activation\Utility.cs (2)
288
dacl.AddAccess(AccessControlType.
Allow
, account, right, InheritanceFlags.None, PropagationFlags.None);
292
dacl.RemoveAccess(AccessControlType.
Allow
, account, right, InheritanceFlags.None, PropagationFlags.None);
System\ServiceModel\Channels\PipeConnection.cs (4)
2434
dacl.AddAccess(AccessControlType.
Allow
, new SecurityIdentifier(WellKnownSidType.WorldSid, null),
2442
dacl.AddAccess(AccessControlType.
Allow
, allowedSid,
2447
dacl.AddAccess(AccessControlType.
Allow
, GetProcessLogonSid(), accessRights, InheritanceFlags.None, PropagationFlags.None);
2455
AccessControlType.
Allow
,
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
385
handleSecurity.AddAccessRule(new EventWaitHandleAccessRule(listenerUniqueSid, EventWaitHandleRights.Modify, AccessControlType.
Allow
));
WsatConfig (7)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
337
dacl.AddAccess(AccessControlType.
Allow
, new SecurityIdentifier(WellKnownSidType.AuthenticatedUserSid, null),
339
dacl.AddAccess(AccessControlType.
Allow
, new SecurityIdentifier(WellKnownSidType.NetworkServiceSid, null),
Configuration\StdRegProviderWrapper.cs (2)
351
AccessControlType.
Allow
);
360
AccessControlType.
Allow
);
Configuration\WsatConfiguration.cs (3)
666
if (keyAccessRule.AccessControlType == AccessControlType.
Allow
&&
674
AccessControlType.
Allow
);
718
AccessControlType.
Allow
);
WsatUI (7)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
337
dacl.AddAccess(AccessControlType.
Allow
, new SecurityIdentifier(WellKnownSidType.AuthenticatedUserSid, null),
339
dacl.AddAccess(AccessControlType.
Allow
, new SecurityIdentifier(WellKnownSidType.NetworkServiceSid, null),
Configuration\StdRegProviderWrapper.cs (2)
351
AccessControlType.
Allow
);
360
AccessControlType.
Allow
);
Configuration\WsatConfiguration.cs (3)
666
if (keyAccessRule.AccessControlType == AccessControlType.
Allow
&&
674
AccessControlType.
Allow
);
718
AccessControlType.
Allow
);