1 write to QueryCtx
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\Principal.cs (1)
441_ctx.QueryCtx = newStoreCtx; // so Updates go to the right StoreCtx
29 references to QueryCtx
System.DirectoryServices.AccountManagement (29)
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (5)
703foreignStoreCtx = remoteCtx.QueryCtx; 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 (1)
2132foreignStoreCtx = remoteCtx.QueryCtx;
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (5)
297return new PrincipalSearchResult<T>(context.QueryCtx.FindByLockoutTime(time, type, typeof(T))); 303return new PrincipalSearchResult<T>(context.QueryCtx.FindByLogonTime(time, type, typeof(T))); 309return new PrincipalSearchResult<T>(context.QueryCtx.FindByExpirationTime(time, type, typeof(T))); 315return new PrincipalSearchResult<T>(context.QueryCtx.FindByBadPasswordAttempt(time, type, typeof(T))); 321return new PrincipalSearchResult<T>(context.QueryCtx.FindByPasswordSetTime(time, type, typeof(T)));
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
376Debug.Assert(ctx.QueryCtx is ADStoreCtx); 384group = (GroupPrincipal)((ADStoreCtx)ctx.QueryCtx).FindPrincipalBySID(typeof(GroupPrincipal), ir, true);
System\DirectoryServices\AccountManagement\Group.cs (2)
158BookmarkableResultSet refs = ContextRaw.QueryCtx.GetGroupMembership(this, false); 203return new PrincipalSearchResult<Principal>(ContextRaw.QueryCtx.GetGroupMembership(this, recursive));
System\DirectoryServices\AccountManagement\Principal.cs (8)
324Debug.Assert(storeCtxToUse == _ctx.QueryCtx); 402_ctx.QueryCtx.Load(this, PropertyNames.PrincipalName); 462_ctx.QueryCtx.Delete(this); 526return _ctx.QueryCtx.NativeType(this); 814return _ctx.QueryCtx; 929Principal p = context.QueryCtx.FindPrincipalByIdentRef(principalType, (identityType == null) ? null : (string)IdentMap.StringMap[(int)identityType, 1], identityValue, refDate); 977return contextToQuery.QueryCtx.GetGroupsMemberOf(this, storeCtx); 1001_ctx.QueryCtx.Load(this, principalPropertyName);
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (5)
142StoreCtx storeCtx = _ctx.QueryCtx; 166StoreCtx storeCtx = _ctx.QueryCtx; 264ResultSet resultSet = _ctx.QueryCtx.Query(this, returnOne ? 1 : -1); 281"SetDefaultPageSizeForContext: type is " + _ctx.QueryCtx.GetType().ToString()); 283if (_ctx.QueryCtx is ADStoreCtx)
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
858Principal p = remoteCtx.QueryCtx.FindPrincipalByIdentRef(