8 writes to TrustAttributes
System.DirectoryServices (8)
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (8)
179
domainInfo.
TrustAttributes
|= Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_CROSS_ORGANIZATION;
184
domainInfo.
TrustAttributes
&= ~(Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_CROSS_ORGANIZATION);
193
domainInfo.
TrustAttributes
&= ~(Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL);
198
domainInfo.
TrustAttributes
|= Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL;
207
domainInfo.
TrustAttributes
|= Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN;
212
domainInfo.
TrustAttributes
&= ~(Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN);
503
tdi.
TrustAttributes
= Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_FOREST_TRANSITIVE;
507
tdi.
TrustAttributes
= Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN;
5 references to TrustAttributes
System.DirectoryServices (5)
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (5)
81
if ((domainInfo.
TrustAttributes
& Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_CROSS_ORGANIZATION) == 0)
89
if ((domainInfo.
TrustAttributes
& Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL) == 0)
97
if ((domainInfo.
TrustAttributes
& Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_QUARANTINED_DOMAIN) == 0)
881
if ((domainInfo.
TrustAttributes
& Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_FOREST_TRANSITIVE) == 0)
889
if ((domainInfo.
TrustAttributes
& Interop.Advapi32.TRUST_ATTRIBUTE.TRUST_ATTRIBUTE_FOREST_TRANSITIVE) != 0)