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