155 references to InheritanceFlags
mscorlib (120)
system\security\accesscontrol\ace.cs (7)
204
internal static AceFlags AceFlagsFromInheritanceFlags(
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
208
if (( inheritanceFlags &
InheritanceFlags
.ContainerInherit ) != 0 )
213
if (( inheritanceFlags &
InheritanceFlags
.ObjectInherit ) != 0 )
458
public
InheritanceFlags
InheritanceFlags
462
InheritanceFlags
flags = 0;
466
flags |=
InheritanceFlags
.ContainerInherit;
471
flags |=
InheritanceFlags
.ObjectInherit;
system\security\accesscontrol\acl.cs (22)
1972
internal void CheckFlags(
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
1980
if ( inheritanceFlags ==
InheritanceFlags
.None &&
1988
else if ( inheritanceFlags !=
InheritanceFlags
.None )
2972
public void AddAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
2978
public void SetAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
2984
public bool RemoveAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
2989
public void RemoveAuditSpecific( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
2999
public void AddAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3020
public void SetAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3041
public bool RemoveAudit( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3061
public void RemoveAuditSpecific( AuditFlags auditFlags, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3127
public void AddAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
3135
public void SetAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
3143
public bool RemoveAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
3150
public void RemoveAccessSpecific( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags )
3162
public void AddAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3185
public void SetAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3208
public bool RemoveAccess( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3230
public void RemoveAccessSpecific( AccessControlType accessType, SecurityIdentifier sid, int accessMask,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType )
3287
isContainer ? (
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit ) :
InheritanceFlags
.None,
system\security\accesscontrol\commonobjectsecurity.cs (10)
255
_securityDescriptor.DiscretionaryAcl.RemoveAccess( AccessControlType.Deny, sid, -1,
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit, 0 );
264
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess( AccessControlType.Allow, sid, -1,
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit, 0 );
296
_securityDescriptor.DiscretionaryAcl.RemoveAccess( AccessControlType.Allow, sid, -1,
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit, 0 );
305
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1,
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit, 0 );
392
result = _securityDescriptor.SystemAcl.RemoveAudit( AuditFlags.Failure | AuditFlags.Success, sid, -1,
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit, 0 );
system\security\accesscontrol\cryptokeysecurity.cs (8)
43
InheritanceFlags
.None,
52
InheritanceFlags
.None,
58
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
104
InheritanceFlags
.None,
113
InheritanceFlags
.None,
119
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
152
InheritanceFlags
inheritanceFlags,
164
InheritanceFlags
inheritanceFlags,
system\security\accesscontrol\directoryobjectsecurity.cs (8)
304
_securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
313
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
345
_securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
354
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
435
_securityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
444
result = _securityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1,
InheritanceFlags
.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
472
public virtual AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type, Guid objectType, Guid inheritedObjectType)
477
public virtual AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags, Guid objectType, Guid inheritedObjectType)
system\security\accesscontrol\eventwaithandlesecurity.cs (7)
53
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
58
: this(new NTAccount(identity), (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
70
InheritanceFlags
inheritanceFlags,
92
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, flags)
103
internal EventWaitHandleAuditRule(IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
157
public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
162
public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
system\security\accesscontrol\filesecurity.cs (12)
87
InheritanceFlags
.None,
101
InheritanceFlags
.None,
114
InheritanceFlags
inheritanceFlags,
130
InheritanceFlags
inheritanceFlags,
152
InheritanceFlags
inheritanceFlags,
221
InheritanceFlags
.None,
230
InheritanceFlags
inheritanceFlags,
250
InheritanceFlags
.None,
259
InheritanceFlags
inheritanceFlags,
276
InheritanceFlags
inheritanceFlags,
386
InheritanceFlags
inheritanceFlags,
403
InheritanceFlags
inheritanceFlags,
system\security\accesscontrol\mutexsecurity.cs (7)
53
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
58
: this(new NTAccount(identity), (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
70
InheritanceFlags
inheritanceFlags,
92
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, flags)
103
internal MutexAuditRule(IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
157
public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
162
public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
system\security\accesscontrol\objectsecurity.cs (2)
743
public abstract AccessRule AccessRuleFactory( IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type );
745
public abstract AuditRule AuditRuleFactory( IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags );
system\security\accesscontrol\objectsecurityt.cs (12)
39
InheritanceFlags
.None,
51
InheritanceFlags
.None,
62
InheritanceFlags
inheritanceFlags,
76
InheritanceFlags
inheritanceFlags,
96
InheritanceFlags
inheritanceFlags,
129
InheritanceFlags
.None,
137
InheritanceFlags
inheritanceFlags,
156
InheritanceFlags
.None,
164
InheritanceFlags
inheritanceFlags,
180
InheritanceFlags
inheritanceFlags,
231
InheritanceFlags
inheritanceFlags,
247
InheritanceFlags
inheritanceFlags,
system\security\accesscontrol\registrysecurity.cs (10)
62
: this(identity, (int) registryRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
67
: this(new NTAccount(identity), (int) registryRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
71
public RegistryAccessRule(IdentityReference identity, RegistryRights registryRights,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
76
public RegistryAccessRule(string identity, RegistryRights registryRights,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
89
InheritanceFlags
inheritanceFlags,
110
public RegistryAuditRule(IdentityReference identity, RegistryRights registryRights,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
115
public RegistryAuditRule(string identity, RegistryRights registryRights,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
120
internal RegistryAuditRule(IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
183
public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
188
public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
system\security\accesscontrol\rules.cs (15)
23
private readonly
InheritanceFlags
_inheritanceFlags;
34
InheritanceFlags
inheritanceFlags,
49
if ( inheritanceFlags <
InheritanceFlags
.None || inheritanceFlags > (
InheritanceFlags
.ObjectInherit |
InheritanceFlags
.ContainerInherit) )
105
public
InheritanceFlags
InheritanceFlags
133
InheritanceFlags
inheritanceFlags,
146
if ( inheritanceFlags <
InheritanceFlags
.None || inheritanceFlags > (
InheritanceFlags
.ObjectInherit |
InheritanceFlags
.ContainerInherit) )
189
protected ObjectAccessRule( IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AccessControlType type )
202
if (( !inheritedObjectType.Equals( Guid.Empty )) && ((inheritanceFlags &
InheritanceFlags
.ContainerInherit ) != 0 ))
250
InheritanceFlags
inheritanceFlags,
296
protected ObjectAuditRule( IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AuditFlags auditFlags )
310
if (( !inheritedObjectType.Equals( Guid.Empty )) && ((inheritanceFlags &
InheritanceFlags
.ContainerInherit ) != 0 ))
System (7)
sys\system\security\accesscontrol\semaphoresecurity.cs (7)
51
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
56
: this(new NTAccount(identity), (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, type)
68
InheritanceFlags
inheritanceFlags,
90
: this(identity, (int) eventRights, false,
InheritanceFlags
.None, PropagationFlags.None, flags)
101
internal SemaphoreAuditRule(IdentityReference identity, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
152
public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
157
public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
System.Core (6)
System\IO\Pipes\PipeSecurity.cs (6)
117
InheritanceFlags
.None, // these do not apply to pipes
200
InheritanceFlags
.None,
354
int accessMask, bool isInherited,
InheritanceFlags
inheritanceFlags,
358
if (inheritanceFlags !=
InheritanceFlags
.None) {
378
InheritanceFlags
inheritanceFlags,
384
if (inheritanceFlags !=
InheritanceFlags
.None) {
System.Runtime.Remoting (3)
channels\ipc\ipcport.cs (3)
56
dacl.AddAccess(AccessControlType.Deny, sid, -1,
InheritanceFlags
.None, PropagationFlags.None);
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 (5)
2427
UnsafeNativeMethods.GENERIC_ALL,
InheritanceFlags
.None, PropagationFlags.None);
2435
clientAccessRights,
InheritanceFlags
.None, PropagationFlags.None);
2443
clientAccessRights,
InheritanceFlags
.None, PropagationFlags.None);
2447
dacl.AddAccess(AccessControlType.Allow, GetProcessLogonSid(), accessRights,
InheritanceFlags
.None, PropagationFlags.None);
2458
InheritanceFlags
.None,
WsatConfig (6)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
338
unchecked((int)0x80000000),
InheritanceFlags
.None, PropagationFlags.None);
340
unchecked((int)0x80000000),
InheritanceFlags
.None, PropagationFlags.None);
Configuration\StdRegProviderWrapper.cs (4)
349
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit,
358
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit,
WsatUI (6)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
338
unchecked((int)0x80000000),
InheritanceFlags
.None, PropagationFlags.None);
340
unchecked((int)0x80000000),
InheritanceFlags
.None, PropagationFlags.None);
Configuration\StdRegProviderWrapper.cs (4)
349
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit,
358
InheritanceFlags
.ContainerInherit |
InheritanceFlags
.ObjectInherit,