6 instantiations of ObjectAce
mscorlib (6)
system\security\accesscontrol\ace.cs (1)
341
result = new
ObjectAce
( flags, qualifier, accessMask, sid, objectFlags, objectAceType, inheritedObjectAceType, isCallback, opaque );
system\security\accesscontrol\acl.cs (5)
2043
newAce = new
ObjectAce
( flags, qualifier, accessMask, sid, objectFlags, objectType, inheritedObjectType, false, null );
2124
newAce = new
ObjectAce
( flags, qualifier, accessMask, sid, objectFlags, objectType, inheritedObjectType, false, null );
2554
newObjectAce = new
ObjectAce
( ps_AceFlags, qualifier, ps_AccessMask, ace.SecurityIdentifier, ps_ObjectAceFlags, ps_ObjectAceType, ps_InheritedObjectAceType, false, null );
2591
newAce = new
ObjectAce
( as_AceFlags, qualifier, as_AccessMask, ace.SecurityIdentifier, as_ObjectAceFlags, as_ObjectAceType, as_InheritedObjectAceType, false, null );
2612
newAce = new
ObjectAce
( mergeResultFlags, qualifier, ms_AccessMask, ace.SecurityIdentifier, ms_ObjectAceFlags, ms_ObjectAceType, ms_InheritedObjectAceType, false, null );
58 references to ObjectAce
mscorlib (58)
system\security\accesscontrol\ace.cs (3)
338
if ( true ==
ObjectAce
.ParseBinaryForm( binaryForm, offset, out qualifier, out accessMask, out sid, out objectFlags, out objectAceType, out inheritedObjectAceType, out isCallback, out opaque ))
395
if (((!( result is
ObjectAce
)) && (( binaryForm[offset + 2] << 0 ) + ( binaryForm[offset + 3] << 8 ) != result.BinaryLength ))
400
|| (( result is
ObjectAce
) && (( binaryForm[offset + 2] << 0 ) + ( binaryForm[offset + 3] << 8 ) != result.BinaryLength ) && ((( binaryForm[offset + 2] << 0 ) + ( binaryForm[offset + 3] << 8 ) - 32 ) != result.BinaryLength )))
system\security\accesscontrol\acl.cs (46)
1271
private void GetObjectTypesForSplit(
ObjectAce
originalAce, int accessMask, AceFlags aceFlags, out ObjectAceFlags objectFlags, out Guid objectType, out Guid inheritedObjectType )
1281
if (( accessMask &
ObjectAce
.AccessMaskWithObjectType ) != 0 )
1301
Guid objectType = ( ace is
ObjectAce
) ? ((
ObjectAce
) ace ).ObjectAceType : Guid.Empty;
1302
Guid newObjectType = ( newAce is
ObjectAce
) ? ((
ObjectAce
) newAce ).ObjectAceType : Guid.Empty;
1309
Guid inheritedObjectType = ( ace is
ObjectAce
) ? ((
ObjectAce
) ace ).InheritedObjectAceType : Guid.Empty;
1310
Guid newInheritedObjectType = ( newAce is
ObjectAce
) ? ((
ObjectAce
) newAce ).InheritedObjectAceType : Guid.Empty;
1330
ObjectAceFlags objectFlags = ( ace is
ObjectAce
) ? ((
ObjectAce
) ace ).ObjectAceFlags : ObjectAceFlags.None;
1331
if ((( ace.AccessMask & newAce.AccessMask &
ObjectAce
.AccessMaskWithObjectType ) == ( newAce.AccessMask &
ObjectAce
.AccessMaskWithObjectType )) &&
1356
ObjectAceFlags objectFlags = ( ace is
ObjectAce
) ? ((
ObjectAce
) ace ).ObjectAceFlags : ObjectAceFlags.None;
1374
if (( ace.AccessMask & accessMask &
ObjectAce
.AccessMaskWithObjectType ) != 0 )
1390
if ( ace is
ObjectAce
)
1393
ObjectAce
objectAce = ace as
ObjectAce
;
1414
accessMask &= ~
ObjectAce
.AccessMaskWithObjectType;
1447
if ( ace is
ObjectAce
)
1450
ObjectAce
objectAce = ace as
ObjectAce
;
1589
if ( ace is
ObjectAce
|| newAce is
ObjectAce
)
1619
if (( ace is
ObjectAce
) || ( newAce is
ObjectAce
))
1651
if (( ace is
ObjectAce
) || ( newAce is
ObjectAce
))
2453
if ( ace is
ObjectAce
)
2458
GetObjectTypesForSplit( ace as
ObjectAce
, ps_AccessMask /* access mask for this split */, ps_AceFlags /* flags remain the same */, out ps_ObjectAceFlags, out ps_ObjectAceType, out ps_InheritedObjectAceType );
2482
if ( ace is
ObjectAce
)
2487
GetObjectTypesForSplit( ace as
ObjectAce
, as_AccessMask /* access mask for this split */, as_AceFlags /* flags remain the same for inheritance */, out as_ObjectAceFlags, out as_ObjectAceType, out as_InheritedObjectAceType );
2519
if ( ace is
ObjectAce
)
2524
GetObjectTypesForSplit( ace as
ObjectAce
, ms_AccessMask /* access mask for this split */, mergeResultFlags /* flags for this split */, out ms_ObjectAceFlags, out ms_ObjectAceType, out ms_InheritedObjectAceType );
2547
if (( ace is
ObjectAce
) &&
2548
((((
ObjectAce
) ace ).ObjectAceFlags & ObjectAceFlags.ObjectAceTypePresent ) != 0 ) &&
2551
ObjectAce
newObjectAce;
2562
if ( ace is
ObjectAce
)
2564
ObjectAce
objectAce = ace as
ObjectAce
;
2737
if (( ace is
ObjectAce
) && ( objectFlags != ObjectAceFlags.None ))
2742
ObjectAce
objectAce = ace as
ObjectAce
;
2750
else if (( ace is
ObjectAce
) || ( objectFlags != ObjectAceFlags.None ))
system\security\accesscontrol\directoryobjectsecurity.cs (7)
152
ace = acl[i] as
ObjectAce
;
202
if (ace is
ObjectAce
)
204
ObjectAce
objectAce = ace as
ObjectAce
;
222
if (ace is
ObjectAce
)
224
ObjectAce
objectAce = ace as
ObjectAce
;
system\security\accesscontrol\rules.cs (2)
192
if (( !objectType.Equals( Guid.Empty )) && (( accessMask &
ObjectAce
.AccessMaskWithObjectType ) != 0 ))
300
if (( !objectType.Equals( Guid.Empty )) && (( accessMask &
ObjectAce
.AccessMaskWithObjectType ) != 0 ))