9 references to TRUST_ATTRIBUTE_CROSS_ORGANIZATION
System.DirectoryServices (9)
System\DirectoryServices\ActiveDirectory\Domain.cs (2)
531
return TrustHelper.GetTrustedDomainInfoStatus(context, Name, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
, false);
544
TrustHelper.SetTrustedDomainInfoStatus(context, Name, targetDomainName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
, enable, false);
System\DirectoryServices\ActiveDirectory\Forest.cs (2)
343
return TrustHelper.GetTrustedDomainInfoStatus(_context, Name, targetForestName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
, true);
356
TrustHelper.SetTrustedDomainInfoStatus(_context, Name, targetForestName, Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
, enable, true);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (5)
79
if (attribute == Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
)
81
if ((domainInfo.TrustAttributes & Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
) == 0)
174
if (attribute == Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
)
179
domainInfo.TrustAttributes |= Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
;
184
domainInfo.TrustAttributes &= ~(Interop.Advapi32.TRUST_ATTRIBUTE.
TRUST_ATTRIBUTE_CROSS_ORGANIZATION
);