21 references to Context
System.DirectoryServices.AccountManagement (21)
System\DirectoryServices\AccountManagement\AccountInfo.cs (2)
247
Debug.Assert(_owningPrincipal.
Context
!= null);
264
Debug.Assert(_owningPrincipal.
Context
!= null);
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (1)
194
de.Options.PasswordPort = p.
Context
.ServerInformation.portLDAP;
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (5)
728
if (_foreignGroups[0].
Context
.ServerInformation.OsVersion == DomainControllerMode.Win2k ||
820
Debug.Assert(foreignGroup.
Context
.QueryCtx is ADStoreCtx);
824
_storeCtx = (ADStoreCtx)foreignGroup.
Context
.QueryCtx;
850
Debug.Assert(foreignGroup.
Context
.QueryCtx is ADStoreCtx);
854
_storeCtx = (ADStoreCtx)foreignGroup.
Context
.QueryCtx;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (3)
1173
if ((p.ContextType == ContextType.ApplicationDirectory) || (p.
Context
.ServerInformation.OsVersion == DomainControllerMode.Win2k))
1665
if (g.
Context
.ContextType == ContextType.ApplicationDirectory ||
1666
g.
Context
.ServerInformation.OsVersion == DomainControllerMode.Win2k ||
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
1543
Debug.Assert(member.
Context
!= null);
System\DirectoryServices\AccountManagement\Computer.cs (3)
18
if (
Context
.ContextType == ContextType.ApplicationDirectory && this.GetType() == typeof(ComputerPrincipal))
30
if (
Context
.ContextType == ContextType.ApplicationDirectory && this.GetType() == typeof(ComputerPrincipal))
33
if (
Context
.ContextType != ContextType.ApplicationDirectory)
System\DirectoryServices\AccountManagement\Group.cs (1)
30
if (
Context
.ContextType != ContextType.ApplicationDirectory)
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (3)
27
_ctx = queryFilter.
Context
;
61
Debug.Assert(value.
Context
!= null);
68
_ctx = _qbeFilter.
Context
;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
1083
Debug.Assert(member.
Context
!= null);
System\DirectoryServices\AccountManagement\User.cs (1)
31
if (
Context
.ContextType != ContextType.ApplicationDirectory)